New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PaintShapeEventArgs : EventArgs

Inheritance: objectEventArgsPaintShapeEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public PaintShapeEventArgs(Graphics graphics, GraphicsPath path, Color fillColor, Color borderColor, int borderThickness, ShapeType? shapeType)
Parameters:graphicsGraphicspathGraphicsPathfillColorColorborderColorColorborderThicknessintshapeTypeShapeType?

Fields

Determines if the original shape should be painted.

C#
public bool Handled

Properties

The border color selected from the DrawShape diaolog.

C#
public Color BorderColor { get; }

The border thickness selected from the DrawShape diaolog.

C#
public int BorderThickness { get; }

The fill color selected from the DrawShape diaolog.

C#
public Color FillColor { get; }

The graphics object that allows you to paint.

C#
public Graphics Graphics { get; }

The original shape path.

C#
public GraphicsPath OriginalPath { get; }

The shape selected from the DrawShape diaolog.

C#
public ShapeType? ShapeType { get; }