Struct PolygonInfo
A snapshot of one polygon's current settings and vertex count, from TryGetPolygon(int, out PolygonInfo).
public readonly struct PolygonInfo
- Inherited Members
Constructors
PolygonInfo(uint, int, int, Rejection)
Creates a snapshot with every field set.
public PolygonInfo(uint colorRgba, int pointCount, int maxPoints, PolygonStore.Rejection lastRefusal)
Parameters
colorRgbauintpointCountintmaxPointsintlastRefusalPolygonStore.Rejection
Properties
ColorRgba
Fill color as packed RGBA.
public uint ColorRgba { get; }
Property Value
LastRefusal
Why the last SetPolygonRing(int, IReadOnlyList<LatLon>) call on this polygon was refused; None when it was accepted or the polygon has never been rewritten since add.
public PolygonStore.Rejection LastRefusal { get; }
Property Value
MaxPoints
Reserved capacity plus two - the most ring vertices this polygon can hold without reallocating.
public int MaxPoints { get; }
Property Value
PointCount
Ring vertices currently drawn; 0 while the polygon is hidden.
public int PointCount { get; }