Class ShapeStyle
Inherited Members
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public class ShapeStyle : DiagramElement
Constructors
ShapeStyle()
Declaration
public ShapeStyle()
Fields
FillProperty
Identifies the Fill bindable property.
Declaration
public static readonly BindableProperty FillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
OpacityProperty
Identifies the Opacity bindable property.
Declaration
public static readonly BindableProperty OpacityProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
StrokeColorProperty
Identifies the StrokeColor bindable property.
Declaration
public static readonly BindableProperty StrokeColorProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Fill
Gets or sets the fill color.
Declaration
public Color Fill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
Opacity
Gets or sets the overall opacity, from 0 (transparent) to 1 (opaque).
Declaration
public double Opacity { get; set; }
Property Value
| Type |
|---|
| System.Double |
StrokeColor
Gets or sets the stroke (outline/line) color.
Declaration
public Color StrokeColor { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Graphics.Color |
StrokeDashArray
Gets or sets a comma-separated dash pattern (for example, "2,2") applied to the stroke.
A null or empty value renders a solid line.
Declaration
public string StrokeDashArray { get; set; }
Property Value
| Type |
|---|
| System.String |
StrokeWidth
Gets or sets the stroke thickness, in diagram units.
Declaration
public double StrokeWidth { get; set; }
Property Value
| Type |
|---|
| System.Double |