PaintShapeEventArgs
Supplies the shape path and drawing context to handlers of the image editor's PaintShape event.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PaintShapeEventArgs : EventArgs
Inheritance: objectEventArgsPaintShapeEventArgs
Inherited Members
Constructors
Initializes event data for a shape that is about to be painted.
public PaintShapeEventArgs(Graphics graphics, GraphicsPath path, Color fillColor, Color borderColor, int borderThickness, ShapeType? shapeType)
The graphics context used to paint the current bitmap.
pathGraphicsPathThe path describing the shape.
fillColorColorThe fill color selected for the shape.
borderColorColorThe border color selected for the shape.
borderThicknessintThe border thickness selected for the shape.
shapeTypeShapeType?The standard shape type, or null when the shape was supplied without one.
Fields
Properties
The border color selected from the DrawShape diaolog.
public Color BorderColor { get; }
The border thickness selected from the DrawShape diaolog.
public int BorderThickness { get; }
The fill color selected from the DrawShape diaolog.
public Color FillColor { get; }
The original shape path.
public GraphicsPath OriginalPath { get; }