GH_GraphicTreeDisplayArgs
ReferencesA class that contains useful information used for drawing GH_GraphicTrees.
Fields
Methods
AdjustMaxPathLength
#Call this function to register a new maximum path length. This function is only used during the construction of this class. Do not call this while in the middle of a drawing operation.
Parameters:
| potential_new_length (int) |
RadialCrd
#Compute the x and y coordinates of a point defined by radial coordinates
RadialX
#Compute the x-coordinate of a point defined by radial coordinates
RadialY
#Compute the y-coordinate of a point defined by radial coordinates
SetupViewport
#Assign the viewport member with this function to ensure that other constants are also set.
Parameters:
| vport (GH_Viewport) |
Visible
#Test to see if a bezier segment is within the visible domain. This test is fuzzy in the interest of performance.
Visible
#Test to see if a circle is within the visible domain.
Visible
#Test to see if a line segment is within the visible domain. This test is fuzzy in the interest of performance.
Visible
#Test to see if a rectangle is within the visible domain.
Parameters:
| rec (RectangleF) | |
| margin (float) |