Skip to content

types.circle_drawable ​

A drawable circle

Functions ​

new(): types.circle_drawable ​

Creates a new circle drawable

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

progress(progress : number): types.circle_drawable ​

Sets the progress

base_color(color : types.color): types.circle_drawable ​

Sets the base color

grad_color(color : types.color): types.circle_drawable ​

Sets the gradient color

outline(thickness : number, color : types.color): types.circle_drawable ​

Sets the outline

texture(texture : types.texture): types.circle_drawable ​

Sets the texture

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