Shape


Summary

Provides the base class for shape elements, such as Ellipse, Polygon, and Rectangle.

Syntax

public class Shape : ControlBase

Members

NameTypeSummary
FillColor PropertyGets or sets the fill color.
Shape MethodInitializes a new instance of the Shape class.
Stretch PropertyGets or sets the stretch value.
StrokeColor PropertyGets or sets the stroke color.
StrokeDashArray PropertyGets or sets a collection of Double values that indicate the pattern of dashes and gaps that is used to outline shapes.
StrokeDashCap PropertyGets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.
StrokeDashOffset PropertyGets or sets a Double that specifies the distance within the dash pattern where a dash begins.
StrokeEndLineCap PropertyGets or sets the shape at the end of a line.
StrokeLineJoin PropertyGets or sets the shape that joins two lines.
StrokeMiterLimit PropertyGets or sets a limit on the ratio of the miter length to half the StrokeThickness of a Shape element.
StrokeStartLineCap PropertyGets or sets the shape at the beginning of a line.
StrokeThickness PropertyGets or sets the stroke thickness.
Reference