Skip to content

Shape

Summary

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

Signature

1
public abstract class Shape : ControlBase

Namespace

cAlgo.API

Properties

Name Description
StrokeColor { get; set; } Gets or sets the stroke color.
FillColor { get; set; } Gets or sets the fill color.
StrokeThickness { get; set; } Gets or sets the stroke thickness.
Stretch { get; set; } Gets or sets the stretch value.
StrokeEndLineCap { get; set; } Gets or sets the shape at the end of a line.
StrokeStartLineCap { get; set; } Gets or sets the shape at the beginning of a line.
StrokeLineJoin { get; set; } Gets or sets the shape that joins two lines.
StrokeMiterLimit { get; set; } Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of a Shape element.
StrokeDashArray { get; set; } Gets or sets a collection of Double values that indicate the pattern of dashes and gaps that is used to outlineshapes.
StrokeDashOffset { get; set; } Gets or sets a Double that specifies the distance within the dash pattern where a dash begins.
StrokeDashCap { get; set; } Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.

Last update: March 23, 2023