AppearanceSettings
Provides static methods and properties to deal with the appearance of the application.
Inheritance Hierarchy
System.Object
Rhino.ApplicationSettings.AppearanceSettings
Namespace: Rhino.ApplicationSettings
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public static class AppearanceSettings
The AppearanceSettings type exposes the following members.
Properties
Name
Description
Public Property
Static Member
CommandPromptBackgroundColor
Gets or sets the color of the command prompt background.
Public Property
Static Member
CommandPromptFontSize
Size of font used in command prompt (in points)
Public Property
Static Member
CommandPromptHypertextColor
Gets or sets the color of the command prompt hypertext.
Public Property
Static Member
CommandPromptPosition
Gets or sets the command prompt position.
Public Property
Static Member
CommandPromptTextColor
Gets or sets the color of the command prompt text.
Public Property
Static Member
CrosshairColor
Gets or sets the color of the crosshair icon.
Public Property
Static Member
CurrentLayerBackgroundColor
Gets or sets the color used by the layer manager dialog as the background color for the current layer.
Public Property
Static Member
DefaultFontFaceName
Gets or sets the default font face name used in Rhino.
Public Property
Static Member
DefaultLayerColor
Gets or sets the default layer color.
Public Property
Static Member
DefaultObjectColor
Gets or sets the default color for new objects.
Public Property
Static Member
DirectionArrowIconHeadSize
length of direction arrowhead icon in pixels.
Public Property
Static Member
DirectionArrowIconShaftSize
length of direction arrow shaft icon in pixels.
Public Property
Static Member
EchoCommandsToHistoryWindow
Gets or sets a value that determines if command names are written to the history window.
Public Property
Static Member
EchoPromptsToHistoryWindow
Gets or sets a value that determines if prompt messages are written to the history window.
Public Property
Static Member
EditCandidateColor
Gets or sets the color of objects that are eligible to be edited.
Public Property
Static Member
FeedbackColor
Gets or sets the feedback color.
Public Property
Static Member
FrameBackgroundColor
Gets or sets the background color of the frame.
Public Property
Static Member
GridThickLineColor
Gets or sets the color of the thick line of the grid.
Public Property
Static Member
GridThinLineColor
Gets or sets the color of the thin line of the grid.
Public Property
Static Member
GridXAxisLineColor
Gets or sets the color of the X axis of the grid.
Public Property
Static Member
GridYAxisLineColor
Gets or sets the color of the Y axis of the grid.
Public Property
Static Member
GridZAxisLineColor
Gets or sets the color of the Z axis of the grid.
Public Property
Static Member
LanguageIdentifier
Gets or sets the language identifier.
Public Property
Static Member
LockedObjectColor
color used to draw locked objects.
Public Property
Static Member
MenuVisible
Gets or sets a value that determines if the File menu is visible.
Public Property
Static Member
PageviewPaperColor
Gets or sets the paper background. A rectangle is drawn into the background of page views to represent the printed area. The alpha portion of the color is used to draw the paper blended into the background
Public Property
Static Member
PreviousLanguageIdentifier
Gets or sets the previous language identifier.
Public Property
Static Member
SelectedObjectColor
The color used to draw selected objects. The default is yellow, but this can be customized by the user.
Public Property
Static Member
SelectionWindowCrossingFillColor
Color used to fill selection crossing window
Public Property
Static Member
SelectionWindowCrossingStrokeColor
Color used to draw stroke for selection crossing window
Public Property
Static Member
SelectionWindowFillColor
Color used to fill selection window
Public Property
Static Member
SelectionWindowStrokeColor
Color used to draw stroke for selection window
Public Property
Static Member
ShowCrosshairs
Gets or sets a value that determines if cross hairs are visible.
Public Property
Static Member
ShowFullPathInTitleBar
Gets or sets a value that determines if the full path of the document is shown in the Rhino title bar.
Public Property
Static Member
ShowLayoutDropShadow
Display the drop shadow of layouts
Public Property
Static Member
ShowOsnapBar
Shows or hides the object snap user interface.
Public Property
Static Member
ShowSelectionFilterBar
Shows or hides the selection filter user interface.
Public Property
Static Member
ShowSideBar
Shows or hides the side bar user interface.
Public Property
Static Member
ShowStatusBar
Shows or hides the status bar user interface.
Public Property
Static Member
ShowTitleBar
Shows or hides title bar.
Public Property
Static Member
ShowViewportTitles
Shows or hides viewport titles.
Public Property
Static Member
TrackingColor
Gets or sets the tracking color.
Public Property
Static Member
UsePaintColors
Obsolete.
Gets or sets a value indicating if logical paint colors should be used.
Public Property
Static Member
ViewportBackgroundColor
Gets or sets the viewport background color.
Public Property
Static Member
ViewportTabsVisibleAtStart
Display viewport tabs at start
Public Property
Static Member
WorldCoordIconXAxisColor
Gets or sets the color of the world coordinate X axis.
Public Property
Static Member
WorldCoordIconYAxisColor
Gets or sets the color of the world coordinate Y axis.
Public Property
Static Member
WorldCoordIconZAxisColor
Gets or sets the color of the world coordinate Z axis.
Methods
Name
Description
Public Method
Static Member
DefaultPaintColor(PaintColor)
Get a default paint color for Rhino. The current paint color may be different than the default
Public Method
Static Member
DefaultPaintColor(PaintColor, Boolean)
Get a default paint color for Rhino. The current paint color may be different than the default
Public Method
Static Member
DefaultWidgetColor
Get a default widget color for Rhino. The current widget color may be different than the default
Public Method
Static Member
GetCurrentState
Gets the current settings of the application.
Public Method
Static Member
GetDefaultState.
Gets the factory settings of the application.
Public Method
Static Member
GetDefaultState(Boolean)
Gets the factory settings of the application.
Public Method
Static Member
GetPaintColor(PaintColor)
Gets the color that is currently associated with a paint color.
Public Method
Static Member
GetPaintColor(PaintColor, Boolean)
Gat a paint color. This overload provides a compute option for cases where colors are computed when they are “unset” colors.
Public Method
Static Member
GetWidgetColor
Gets the .Net library color that is currently associated with a widget color.
Public Method
Static Member
InitialMainWindowPosition
Location where the Main Rhino window attempts to show when the application is first started.
Public Method
Static Member
RestoreDefaults
Commits the default settings as the current settings.
Public Method
Static Member
SetPaintColor(PaintColor, Color)
Sets the logical paint color association to a specific .Net library color, without forced UI update.
Public Method
Static Member
SetPaintColor(PaintColor, Color, Boolean)
Sets the logical paint color association to a specific .Net library color.
Public Method
Static Member
SetToDarkMode
Set UI to the default dark mode color scheme
Public Method
Static Member
SetToLightMode
Set UI to the default light mode color scheme
Public Method
Static Member
SetWidgetColor(WidgetColor, Color)
Sets the logical widget color association to a specific .Net library color, without forced UI update.
Public Method
Static Member
SetWidgetColor(WidgetColor, Color, Boolean)
Sets the logical widget color association to a specific .Net library color.
Public Method
Static Member
UpdateFromState
Sets all settings to a particular defined joined state.
Public Method
Static Member
UsingDefaultDarkModeColors
Determine if Rhino is running with default dark mode color settings
Public Method
Static Member
UsingDefaultLightModeColors
Determine if Rhino is running with default light mode color settings