Colored rectangle.
    public class ColorRect : Control

Displays a colored rectangle.

Inheritance Chain

Constructors

    public ColorRect()

Properties

    public Color Color { get; set; }

The fill color.

[codeblock]

$ColorRect.color = Color(1, 0, 0, 1) # Set ColorRect’s color to red.

[/codeblock]

Methods

    public Color GetFrameColor()

Getter for Color

    public void SetFrameColor(Color color)

Setter for Color

Tags: