MarkShape
public struct MarkShapePure data describing a single mark’s geometry in screen space. Produced by
ChartGuru.ChartMarkProjector and consumed by the morph recipes — never
touched by the per-type renderers.
Only the fields belonging to the current ChartGuru.MarkShape.Kind are meaningful;
the rest carry whatever default value the projector left in them. Recipes
that mix kinds (e.g. Rect → Disc) read both shapes’ relevant fields
and interpolate.
Fields
Section titled “Fields”
public MarkShapeKind KindReturns
ChartGuru.MarkShapeKind
FillColor
Section titled “FillColor”public Color FillColorReturns
UnityEngine.Color
StrokeColor
Section titled “StrokeColor”public Color StrokeColorReturns
UnityEngine.Color
StrokeWidth
Section titled “StrokeWidth”public float StrokeWidthReturns
System.Single
MarkIndex
Section titled “MarkIndex”public int MarkIndexReturns
System.Int32
SeriesIndex
Section titled “SeriesIndex”public int SeriesIndexReturns
System.Int32
Visible
Section titled “Visible”public bool VisibleReturns
System.Boolean
RectCenter
Section titled “RectCenter”public Vector2 RectCenterReturns
UnityEngine.Vector2
RectSize
Section titled “RectSize”public Vector2 RectSizeReturns
UnityEngine.Vector2
RectCornerRadius
Section titled “RectCornerRadius”public float RectCornerRadiusReturns
System.Single
RectAnchor
Section titled “RectAnchor”public Vector2 RectAnchorReturns
UnityEngine.Vector2
RectGrowAxis
Section titled “RectGrowAxis”public Vector2 RectGrowAxisReturns
UnityEngine.Vector2
DiscCenter
Section titled “DiscCenter”public Vector2 DiscCenterReturns
UnityEngine.Vector2
DiscRadius
Section titled “DiscRadius”public float DiscRadiusReturns
System.Single
SectorCenter
Section titled “SectorCenter”public Vector2 SectorCenterReturns
UnityEngine.Vector2
SectorInnerRadius
Section titled “SectorInnerRadius”public float SectorInnerRadiusReturns
System.Single
SectorOuterRadius
Section titled “SectorOuterRadius”public float SectorOuterRadiusReturns
System.Single
SectorStartAngle
Section titled “SectorStartAngle”public float SectorStartAngleReturns
System.Single
SectorEndAngle
Section titled “SectorEndAngle”public float SectorEndAngleReturns
System.Single
SectorPadAngle
Section titled “SectorPadAngle”public float SectorPadAngleReturns
System.Single
SectorCornerRadius
Section titled “SectorCornerRadius”public float SectorCornerRadiusReturns
System.Single
VolumeCenter
Section titled “VolumeCenter”public Vector3 VolumeCenterReturns
UnityEngine.Vector3
VolumeSize
Section titled “VolumeSize”public Vector3 VolumeSizeReturns
UnityEngine.Vector3
VolumeAnchor
Section titled “VolumeAnchor”public Vector3 VolumeAnchorReturns
UnityEngine.Vector3
RibbonVertexStart
Section titled “RibbonVertexStart”public int RibbonVertexStartReturns
System.Int32
RibbonVertexCount
Section titled “RibbonVertexCount”public int RibbonVertexCountReturns
System.Int32
SurfaceResolutionX
Section titled “SurfaceResolutionX”public int SurfaceResolutionXReturns
System.Int32
SurfaceResolutionZ
Section titled “SurfaceResolutionZ”public int SurfaceResolutionZReturns
System.Int32
SurfaceMin
Section titled “SurfaceMin”public Vector3 SurfaceMinReturns
UnityEngine.Vector3
SurfaceMax
Section titled “SurfaceMax”public Vector3 SurfaceMaxReturns
UnityEngine.Vector3
Methods
Section titled “Methods”
Anchor()
Section titled “Anchor()”public Vector2 Anchor()Geometric anchor point used by cross-kind morphs to migrate centres.
Returns
UnityEngine.Vector2