GH_LegendData public class GH_LegendData : IGH_PreviewData AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsGH_LegendData#public GH_LegendData()PropertiesBounds2D#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; }Implements: ClippingBoxColours#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; }MethodsClearCachedGeometry#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( GH_PreviewMeshArgsargs)Implements: DrawViewportMeshesDrawViewportWires#public void DrawViewportWires( GH_PreviewWireArgsargs)Implements: DrawViewportWiresRender#Render this legend to a GDI Graphics surface.public void Render( GraphicsgraphicsGraphics object to draw with.)