Skip to content

class Celestine::Rectangle
inherits Celestine::Drawable #

Draws and holds information for rectangles

Included modules

Celestine::Modules::Animate Celestine::Modules::Animate::Motion Celestine::Modules::Animate::Transform Celestine::Modules::Body Celestine::Modules::Filter Celestine::Modules::Marker Celestine::Modules::Mask Celestine::Modules::StrokeFill Celestine::Modules::Transform

Constants#

TAG = "rect" #

Methods#

#draw(io : IO) : Nil #

Draws this rectangle to an IO

View source

#radius_x : IFNumber? #

The corner radius value

#radius_x=(radius_x : IFNumber?) #

The corner radius value

#radius_x_units : String? #

What kind of unit radius_x should use when rendering

#radius_x_units=(radius_x_units : String?) #

What kind of unit radius_x should use when rendering