GumballAppearanceSettings
Inheritance Hierarchy
System.Object
Rhino.UI.Gumball.GumballAppearanceSettings
Namespace: Rhino.UI.Gumball
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class GumballAppearanceSettings
The GumballAppearanceSettings type exposes the following members.
Constructors
Name
Description
Public Method
GumballAppearanceSettings
Initializes a new instance of the GumballAppearanceSettings class
Properties
Name
Description
Public Property
ArcThickness
in pixels.
Public Property
ArrowHeadLength
in pixels.
Public Property
ArrowHeadWidth
in pixels.
Public Property
AxisThickness
in pixels.
Public Property
ColorMenuButton
Public Property
ColorX
Default is Red.
Public Property
ColorY
Default is Green.
Public Property
ColorZ
Default is Blue.
Public Property
FreeTranslate
When FreeTranslate is 1, the center translation control can be dragged in any direction and moves the object the gumball controls. When FreeTranslate is 2, the center translation control can be dragged in any direction and moves the object the gumball itself. The default value is 2.
Public Property
MenuDistance
Distance of menu ball from center.
Public Property
MenuEnabled
When MenuEnabled is true, the menu “button” is drawn on the gumball. The default setting is true.
Public Property
MenuSize
Radius of menu circle.
Public Property
PlanarTranslationGripCorner
in pixels.
Public Property
PlanarTranslationGripSize
in pixels.
Public Property
Radius
in pixels.
Public Property
RelocateEnabled
When RelocateEnabled is true, the user can reposition the gumball by tapping the control key while dragging. Once the repostion drag is terminated by releasing the/ mouse button, ordinary editing resumes. The default setting is true.
Public Property
RotateXEnabled
When RotateX is true, the X rotation control is available. The default setting is true.
Public Property
RotateYEnabled
When RotateY is true, the Y rotation control is available. The default setting is true.
Public Property
RotateZEnabled
When RotateZ is true, the Z rotation control is available. The default setting is true.
Public Property
ScaleGripSize
in pixels.
Public Property
ScaleXEnabled
When ScaleXEnabled is true, the X scale control is available. The default setting is true.
Public Property
ScaleYEnabled
When ScaleYEnabled is true, the Y scale control is available. The default setting is true.
Public Property
ScaleZEnabled
When ScaleZEnabled is true, the Z scale control is available. The default setting is true.
Public Property
TranslateXEnabled
TranslateXEnabled is true, the X axis translation control is available. The default setting is true.
Public Property
TranslateXYEnabled
When TranslateXY is true, the XY plane translation control is available in appropriate views. The default setting is true.
Public Property
TranslateYEnabled
TranslateYEnabled is true, the Y axis translation control is available. The default setting is true.
Public Property
TranslateYZEnabled
When TranslateYZ is true, the YZ plane translation control is available in appropriate views. The default setting is true.
Public Property
TranslateZEnabled
TranslateZEnabled is true, the Z axis translation control is available. The default setting is true.
Public Property
TranslateZXEnabled
When TranslateZX is true, the ZX plane translation control is available in appropriate views. The default setting is true.
Methods
Name
Description
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)