Appearance
types.circle_drawable
A drawable circle
Functions
new(): types.circle_drawable
Creates a new circle drawable
- returns (
types.circle_drawable) A new circle drawable instance
position(x : number, y : number): types.circle_drawable
Sets the position
- x (
number) The x position - y (
number) The y position - returns (
types.circle_drawable) The circle drawable instance
size(size : number): types.circle_drawable
Sets the size
- size (
number) The size - returns (
types.circle_drawable) The circle drawable instance
progress(progress : number): types.circle_drawable
Sets the progress
- progress (
number) The progress (0.0 to 1.0) - returns (
types.circle_drawable) The circle drawable instance
base_color(color : types.color): types.circle_drawable
Sets the base color
- color (
types.color) The base color - returns (
types.circle_drawable) The circle drawable instance
grad_color(color : types.color): types.circle_drawable
Sets the gradient color
- color (
types.color) The gradient color - returns (
types.circle_drawable) The circle drawable instance
outline(thickness : number, color : types.color): types.circle_drawable
Sets the outline
- thickness (
number) The outline thickness - color (
types.color) The outline color - returns (
types.circle_drawable) The circle drawable instance
texture(texture : types.texture): types.circle_drawable
Sets the texture
- texture (
types.texture) The texture instance - returns (
types.circle_drawable) The circle drawable instance
blur(opacity : number): types.circle_drawable
Sets the blur
- opacity (
number) The blur opacity (0.0 to 1.0) - returns (
types.circle_drawable) The circle drawable instance
insert(canvas : types.ui_canvas)
Inserts the drawable into a canvas
- canvas (
types.ui_canvas) The canvas to insert into
