DrawingUtilities Class

DrawingUtilities Class

RhinoCommon Drawing Utilities
Inheritance Hierarchy
SystemObject
  Rhino.UIDrawingUtilities

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static class DrawingUtilities
Public NotInheritable Class DrawingUtilities

The DrawingUtilities type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBitmapFromIconResource
Load a Icon from an embedded resource and convert it to a bitmap of the specified size. Will look for a icon image that is greater than or equal to the requested size, if all images are less than the requested size the largest image will be used.
Public methodStatic memberCreateMeshPreviewImage(Mesh, Color, Size)
Creates a preview image of a mesh.
Public methodStatic memberCreateMeshPreviewImage(IEnumerableMesh, IEnumerableColor, Size)
Creates a preview image of one or more meshs.
Public methodStatic memberIconFromResource(String, Assembly)
Load a Icon from an embedded resource.
Public methodStatic memberIconFromResource(String, Size, Assembly)
Load a Icon from an embedded resource.
Public methodStatic memberImageFromResource
Load a Image from an embedded resource.
Public methodStatic memberLoadBitmapWithScaleDown
Loads an icon from an embedded resource and converts it to a bitmap. If the icon is not a standard size, this function scales down a larger image.
Public methodStatic memberLoadIconWithScaleDown
Loads an icon from an embedded resource. If the icon is not a standard size, this function scales down a larger image.
Top
Version Information

Rhino for Windows

Supported in: 6.8
See Also