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

StrokeColor

Summary

Gets or sets the stroke color.

Signature

1
public Color StrokeColor {get; set;}

Return Value

Color

FillColor

Summary

Gets or sets the fill color.

Signature

1
public Color FillColor {get; set;}

Return Value

Color

StrokeThickness

Summary

Gets or sets the stroke thickness.

Signature

1
public double StrokeThickness {get; set;}

Return Value

double

Stretch

Summary

Gets or sets the stretch value.

Signature

1
public Stretch Stretch {get; set;}

Return Value

Stretch

Related Tutorials

StrokeEndLineCap

Summary

Gets or sets the shape at the end of a line.

Signature

1
public PenLineCap StrokeEndLineCap {get; set;}

Return Value

PenLineCap

StrokeStartLineCap

Summary

Gets or sets the shape at the beginning of a line.

Signature

1
public PenLineCap StrokeStartLineCap {get; set;}

Return Value

PenLineCap

StrokeLineJoin

Summary

Gets or sets the shape that joins two lines.

Signature

1
public PenLineJoin StrokeLineJoin {get; set;}

Return Value

PenLineJoin

StrokeMiterLimit

Summary

Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of a Shape element.

Signature

1
public double StrokeMiterLimit {get; set;}

Return Value

double

StrokeDashArray

Summary

Gets or sets a collection of Double values that indicate the pattern of dashes and gaps that is used to outlineshapes.

Signature

1
public double[] StrokeDashArray {get; set;}

Return Value

double[]

StrokeDashOffset

Summary

Gets or sets a Double that specifies the distance within the dash pattern where a dash begins.

Signature

1
public double StrokeDashOffset {get; set;}

Return Value

double

StrokeDashCap

Summary

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.

Signature

1
public PenLineCap StrokeDashCap {get; set;}

Return Value

PenLineCap