GH_LegendData public class GH_LegendData : IGH_PreviewData AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsGH_LegendData#public GH_LegendData()PropertiesBounds2D#public Rectangle Bounds2D { get; set; }Gets or sets the 2D bounds.Bounds3D#public Rectangle3d Bounds3D { get; set; }Gets or sets the 3D bounds.ClippingBox#public BoundingBox ClippingBox { get; }Implements: ClippingBoxColours#public List<Color> Colours { get; }Gets the internal list of colours.Names#public List<string> Names { get; }Gets the internal list of names.Type#public GH_LegendType Type { get; set; }Gets or sets the legend type.MethodsClearCachedGeometry#public void ClearCachedGeometry()You must call this function when making changes to the legend object after it was drawn at least once.DrawViewportMeshes#public void DrawViewportMeshes(GH_PreviewMeshArgs args)Parameters:args (GH_PreviewMeshArgs)Implements: DrawViewportMeshesDrawViewportWires#public void DrawViewportWires(GH_PreviewWireArgs args)Parameters:args (GH_PreviewWireArgs)Implements: DrawViewportWiresRender#public void Render(Graphics graphics)Render this legend to a GDI Graphics surface.Parameters:graphics (Graphics)Graphics object to draw with.