Table of Contents

Class ShapeDrawable

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Implements shapes painting. Use ShapeType property to specify the shape type.

public class ShapeDrawable : BaseDrawable, IBaseObject, IBaseDrawable
Inheritance
ShapeDrawable
Implements
Extension Methods

Properties

Brush

Gets or sets the brush used to fill the shape.

CornerRadius

Gets or sets the corner radius for rounded rectangles.

Pen

Gets or sets the pen used to draw the shape outline.

ShapeType

Gets or sets the type of shape to be drawn.

StartAngle

Gets or sets the start angle for arc shapes, in degrees.

SweepAngle

Gets or sets the sweep angle for arc shapes, in degrees.

Methods

OnDraw(AbstractControl, Graphics)

Performs custom drawing operations for the specified control.