GH_LegendData

Constructors

GH_LegendData

#
public GH_LegendData()

Properties

Bounds2D

#
Gets or sets the 2D bounds.
public Rectangle Bounds2D { get; set; }

Bounds3D

#
Gets or sets the 3D bounds.
public Rectangle3d Bounds3D { get; set; }

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

Colours

#
Gets the internal list of colours.
public List<Color> Colours { get; }

Names

#
Gets the internal list of names.
public List<string> Names { get; }

Type

#
Gets or sets the legend type.
public GH_LegendType Type { get; set; }

Methods

ClearCachedGeometry

#
You must call this function when making changes to the legend object after it was drawn at least once.
public void ClearCachedGeometry()

DrawViewportMeshes

#
public void DrawViewportMeshes()
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires()
DrawViewportWires

Render

#
Render this legend to a GDI Graphics surface.
public void Render(
graphics
Graphics object to draw with.
)