Constructor SolidStrokeSymbolLayer
SolidStrokeSymbolLayer()
Initializes a new instance of the SolidStrokeSymbolLayer class.
Declaration
public SolidStrokeSymbolLayer()
Remarks
Create a solid stroke symbol layer with no parameters. The default line will have the following default properties: width of 4.0 points (5.333 DIPs), 'round' caps, 'strip' 3D line style, a solid opaque black color, and no geometric effects.
Note that width is measured in DIPs for all line styles except Tube which is measured in meters.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.15 |
SolidStrokeSymbolLayer(Double, Color)
Initializes a new instance of the SolidStrokeSymbolLayer class.Create a solid stroke symbol layer with width and color.
Declaration
public SolidStrokeSymbolLayer(double width, Color color)
Parameters
Type | Name | Description |
---|---|---|
Double | width | The desired width of the layer defined in DIPs for all line styles except Tube which is measured in meters. |
Color | color | The desired color for the layer. |
Remarks
Create a solid stroke symbol layer with a stroke width and a color. The function sets the width and color on the newly- created solid stroke. The other properties are defaulted as follows: caps are 'round,' and the 3D line style is 'strip.'
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.14 |
SolidStrokeSymbolLayer(Double, Color, IList<GeometricEffect>)
Initializes a new instance of the SolidStrokeSymbolLayer class with width, color and geometric effects.
Declaration
public SolidStrokeSymbolLayer(double width, Color color, IList<GeometricEffect> geometricEffects)
Parameters
Type | Name | Description |
---|---|---|
Double | width | The desired width of the layer defined in DIPs for all line styles except Tube which is measured in meters. |
Color | color | The desired color for the layer. |
IList<GeometricEffect> | geometricEffects | The effects to be applied to the layer, e.g., dash patterns. |
Remarks
Create a solid stroke symbol layer with a stroke width, a color, and a collection of geometric effects. The function sets the width, color, and geometric effects on the newly-created solid stroke. The other properties are defaulted as follows: caps are 'round,' and the 3D line style is 'strip'.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.14 |
SolidStrokeSymbolLayer(Double, Color, IList<GeometricEffect>, StrokeSymbolLayerLineStyle3D)
Initializes a new instance of the SolidStrokeSymbolLayer class with width, color, geometric effects and 3D line style.
Declaration
public SolidStrokeSymbolLayer(double width, Color color, IList<GeometricEffect> geometricEffects, StrokeSymbolLayerLineStyle3D lineStyle3D)
Parameters
Type | Name | Description |
---|---|---|
Double | width | The desired width for the symbol layer defined in DIPs for all line styles except Tube which is measured in meters. |
Color | color | The desired color for the symbol layer. |
IList<GeometricEffect> | geometricEffects | The effects to be applied to the symbol layer, e.g., dash patterns. |
StrokeSymbolLayerLineStyle3D | lineStyle3D | The desired 3D line style. |
Remarks
Create a solid stroke symbol layer with a stroke width, a color, a collection of geometric effects, and a 3D line style. The function sets the width, color, geometric effects, and 3D line style on the newly-created solid stroke. Stroke caps default to 'round'.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.14 |