Constructor Graphic
Graphic()
Initializes a new instance of the Graphic class with a null
geometry and symbol..
Declaration
public Graphic()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Graphic(Geometry)
Initializes a new instance of the Graphic class with the given geometry.
Declaration
public Graphic(Geometry geometry)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | Graphic geometry. Can be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Graphic(IEnumerable<KeyValuePair<String, Object>>)
Initializes a new instance of the Graphic class with the given attributes.
Declaration
public Graphic(IEnumerable<KeyValuePair<string, object>> attributes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | attributes | Collection of attributes as key-value pairs.
See Attributes for details on acceptable attribute values. Can be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Graphic(Geometry, IEnumerable<KeyValuePair<String, Object>>)
Initializes a new instance of the Graphic class with the given geometry and attributes.
Declaration
public Graphic(Geometry geometry, IEnumerable<KeyValuePair<string, object>> attributes)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | Graphic geometry. Can be |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | attributes | Collection of attributes as key-value pairs.
See Attributes for details on acceptable attribute values. Can be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Graphic(Geometry, Symbol)
Initializes a new instance of the Graphic class with the given geometry and symbol.
Declaration
public Graphic(Geometry geometry, Symbol symbol)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | Graphic geometry. Can be |
Symbol | symbol | Symbol to draw the graphic. Can be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Graphic(Geometry, IEnumerable<KeyValuePair<String, Object>>, Symbol)
Initializes a new instance of the Graphic class with the given geometry, attributes, and symbol.
Declaration
public Graphic(Geometry geometry, IEnumerable<KeyValuePair<string, object>> attributes, Symbol symbol)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | Graphic geometry. Can be |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Object>> | attributes | Collection of attributes as key-value pairs.
See Attributes for details on acceptable attribute values. Can be |
Symbol | symbol | Symbol to draw the graphic. Can be |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |