Property TintColor
TintColor
Gets or sets the tint color of a picture fill symbol layer.
Declaration
[TypeConverter(typeof(ColorConverter))]
public Color TintColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color | The tint color of a picture fill symbol layer. |
Remarks
The tint color is applied to the entire image by multiplying each RGB color channel in the image by the corresponding color channel of the tint color. Tinting the image white RGBA(255, 255, 255, 255). Applying a tint color with transparent black (RGBA(0, 0, 0, 0)) draws the image as originally authored.
When retrieving the tint color from a symbol, the color that is shared among all color unlocked symbol layers is returned. If there is no common color across the symbol layers (meaning one or more color unlocked layers have different tint colors), transparent black (RGBA(0, 0, 0, 0)) is reported as the color of the symbol. Likewise, applying a tint color to a symbol will affect all the color unlocked symbol layers within the MultilayerSymbol. Applying a transparent black (RGBA(0, 0, 0, 0)) on the symbol does not affect the tint color of its constituent PictureFillSymbolLayer.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.6 - 200.8 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 200.8 |