M2Rect
Abstract base class for rectangular drawables rendered on the Maverick 2 glasses display.
Provides corner-radius support and a billboard mode that places the rectangle at a 3-D world position. Concrete subclasses decide whether the rectangle is filled (M2RectFilled) or outlined (M2RectOutline).
Inheritors
Constructors
Functions
Animates this rectangle's height by a relative delta dHeight over the given duration.
Animates this rectangle's height by a percentage of its current height.
Animates this rectangle's width by a relative delta dWidth over the given duration.
Animates this rectangle's width by a percentage of its current width.
Convenience overload used by tree implementations that support recursive cloning (e.g., M2Group). The default implementation delegates to copyPropertiesTo without using the recursive flag.
Configures the corner radius for this rectangle.
Sets the fill to a two-color gradient.