AppearanceSettings
Provides static methods and properties to deal with the appearance of the application.
Properties
Mode where white objects are drawn black when on a light background and black objects are drawn white when on a dark background
Gets or sets the color of the command prompt background.
Size of font used in command prompt (in points)
Gets or sets the color of the command prompt hypertext.
Gets or sets the command prompt position.
Gets or sets the color of the command prompt text.
Gets or sets the color of the crosshair icon.
Gets or sets a value that determines if the cross hairs are drawn horizontally and vertically on the screen (as if fixed to the camera) instead of running along the construction plane's x and y axes. When enabled, the cross hairs stay vertical and horizontal as the view is rotated, for example in a perspective viewport.
Gets or sets a value that determines the length, in pixels, of the cross hairs if they are visible.
Gets or sets the color used by the layer manager dialog as the background color for the current layer.
Gets or sets the default font face name used in Rhino.
Gets or sets the default layer color.
Gets or sets the default color for new objects.
length of direction arrowhead icon in pixels.
length of direction arrow shaft icon in pixels.
Gets or sets a value that determines if command names are written to the history window.
Gets or sets a value that determines if prompt messages are written to the history window.
Gets or sets the color of objects that are eligible to be edited.
Gets the language identifier the Help system uses. This is HelpLanguageIdentifier when it has been set, otherwise LanguageIdentifier. Never returns zero.
Gets or sets the feedback color.
Gets or sets the background color of the frame.
Gets or sets the color of the thick line of the grid.
Gets or sets the color of the thin line of the grid.
Gets or sets the color of the X axis of the grid.
Gets or sets the color of the Y axis of the grid.
Gets or sets the color of the Z axis of the grid.
Gets or sets the language identifier used by the Help system (the Help panel, F1 context help and the online help web site). This is independent of LanguageIdentifier, which is the language used by the user interface. A value of zero, the default, means the Help follows the user interface language. See EffectiveHelpLanguageIdentifier for the identifier the Help system actually uses.
Gets or sets the language identifier.
color used to draw locked objects.
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
Gets or sets the previous language identifier.
The color used to draw selected objects. The default is yellow, but this can be customized by the user.
Color used to fill selection crossing window
Color used to draw stroke for selection crossing window
Color used to fill selection window
Color used to draw stroke for selection window
Gets or sets a value that determines if cross hairs are visible.
Gets or sets a value that determines if the full path of the document is shown in the Rhino title bar.
Display the drop shadow of layouts
Shows or hides the object snap user interface.
Shows or hides the selection filter user interface.
Shows or hides the side bar user interface.
Shows or hides the status bar user interface.
Shows or hides viewport titles.
Gets or sets the tracking color.
Gets or sets a value indicating if logical paint colors should be used.
obsoletecustom colors are always used
Gets or sets the viewport background color.
Display viewport tabs at start
Gets or sets the color of the world coordinate X axis.
Gets or sets the color of the world coordinate Y axis.
Methods
Get a default paint color for Rhino. The current paint color may be different than the default
public static Color DefaultPaintColor()
whichColor,
The color to retrieve
darkMode
If true gets the default dark mode color otherwise return the default light mode color
Get a default paint color for Rhino. The current paint color may be different than the default
Get a default widget color for Rhino. The current widget color may be different than the default
Returns: A .Net library color.
Gets the current settings of the application.
Returns: An instance of a class that represents all the settings as they appear in the Rhino _Options dialog, joined in a single class.
Gets the factory settings of the application.
Returns: An instance of a class that represents all the default settings joined together.
Gets the factory settings of the application.
Returns: An instance of a class that represents all the default settings joined together.
Gat a paint color. This overload provides a compute option for cases where colors are computed when they are "unset" colors.
Gets the color that is currently associated with a paint color.
Returns: A .Net library color.
Gets the .Net library color that is currently associated with a widget color.
Returns: A .Net library color.
Location where the Main Rhino window attempts to show when the application is first started.
Returns: false if the information could not be retrieved.
Commits the default settings as the current settings.
public static void RestoreDefaults()
Sets the logical paint color association to a specific .Net library color.
public static void SetPaintColor()
whichColor,
A logical color association.
c,
A .Net library color.
forceUiUpdate
true if the UI should be forced to update.
Sets the logical paint color association to a specific .Net library color, without forced UI update.
public static void SetPaintColor()
Set UI to the default dark mode color scheme
Returns: true on sucess
Set UI to the default light mode color scheme
Returns: true on sucess
Sets the logical widget color association to a specific .Net library color.
public static void SetWidgetColor()
whichColor,
A logical color association.
c,
A .Net library color.
forceUiUpdate
true if the UI should be forced to update.
Sets the logical widget color association to a specific .Net library color, without forced UI update.
public static void SetWidgetColor()
Sets all settings to a particular defined joined state.
Determine if Rhino is running with default dark mode color settings