Class Rectangle

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The Rectangle is a class that is used to draw a solid colored rectangle.

C#
Copy
public class Rectangle : EvasObject
Inheritance
Rectangle

Constructors

View Source

Rectangle(EvasObject)

Creates and initializes a new instance of the Rectangle class.

Declaration
C#
Copy
public Rectangle(EvasObject parent)
Parameters
Type Name Description
EvasObject parent

The EvasObject to which the new slider will be attached as a child.

API Level: preview

Methods

View Source

CreateHandle(EvasObject)

Creates a widget handle.

Declaration
C#
Copy
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type Name Description
EvasObject parent

Parent EvasObject.

Returns
Type Description
IntPtr

Handle IntPtr.

Overrides
API Level: preview

Extension Methods