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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |
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 |
---|---|---|
System.Double | width | The desired width of the layer defined in DIPs for all line styles except Tube which is measured in meters. |
System.Drawing.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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.14 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |
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 |
---|---|---|
System.Double | width | The desired width of the layer defined in DIPs for all line styles except Tube which is measured in meters. |
System.Drawing.Color | color | The desired color for the layer. |
System.Collections.Generic.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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.14 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |
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 |
---|---|---|
System.Double | width | The desired width for the symbol layer defined in DIPs for all line styles except Tube which is measured in meters. |
System.Drawing.Color | color | The desired color for the symbol layer. |
System.Collections.Generic.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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.5 - 200.6 |
Xamarin.Android | 100.5 - 100.14 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |