HotspotOrigin Enumeration
Specifies how the hotspot X/Y properties of RasterSymbol and SvgSymbol are interpreted.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public enum HotspotOrigin
Values
Value name | Value | Description |
---|---|---|
Legacy | 0 | In Carmenta Engine 5.16 and earlier versions, this was the default. Raster symbols used the upper-left corner as the hotspot, possibly adjusted by the RasterSymbol.XHot and RasterSymbol.YHot. SVG symbols used the origin of the SVG coordinates as the hotspot. |
Center | 1 | This is now the default. Regardless of how the symbol is defined, the center of the rendered symbol will be used as the origin of the hotspot coordinates. |
Platforms
Windows, Linux, Android