New to Telerik UI for WinForms? Start a free 30-day trial

Specifies the geometry and appearance used to draw a shape on an image.

Definition

Namespace:Telerik.WinControls.UI.ImageEditor

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ShapeInfo

Inheritance: objectShapeInfo

Constructors

Initializes shape information for a drawing operation.

C#
public ShapeInfo(ShapeType shapeType, Color fill, Color borderColor, int borderThickness)
Parameters:shapeTypeShapeType

The geometry to draw.

fillColor

The shape's fill color.

borderColorColor

The shape's outline color.

borderThicknessint

The width passed to the outline drawing pen.

Properties

Gets or sets the color used to outline the drawn shape.

C#
public Color BorderColor { get; set; }

Gets or sets the width passed to the outline drawing pen.

C#
public int BorderThickness { get; set; }

Gets or sets the color used to fill the drawn shape.

C#
public Color Fill { get; set; }

Gets or sets the geometry drawn by the image editor.

C#
public ShapeType ShapeType { get; set; }