This documentation is for the old version. Go to the latest Graphics Mill docs

RectangleRubberband Members

The RectangleRubberband type exposes the following members.

Constructors

Name Description
Public method RectangleRubberband

Creates and initializes new RectangleRubberband class instance.

Methods

Name Description
Public method Connect

Connects this user input controller (navigator or rubberband) to the viewer control.

(Inherited from UserInputController.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Disconnect

Disconnects this user input controller (navigator or rubberband) from the BitmapViewer control.

(Inherited from UserInputController.)
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Public method Erase

Erases (discards) the rubberband from the control.

Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method ToString (Inherited from Component.)
Public method Update

This method is called with a BitmapViewer when it needs to be repainted or updated in any other way.

(Inherited from RectangleController.)

Properties

Name Description
Protected property CanRaiseEvents (Inherited from Component.)
Public property Container (Inherited from Component.)
Protected property DesignMode (Inherited from Component.)
Public property Erasable

Gets/sets a value that specifies whether the rubberband can be erased (discarded) when user clicks by a mouse out of this rectangle.

Protected property Events (Inherited from Component.)
Public property GripColor

Gets/sets the color of grips.

Public property GripSize

Gets/sets the grip size.

Public property GripsVisible

Gets/sets a value which shows or hides the grips on the rectangle.

Public property IsEmpty

Gets a value that specifies whether the rubberband rectangle is empty (and therefore whether it is visible).

Public property MaskColor

Gets/sets the color of the mask.

Public property MaskOpacity

Gets/sets the opacity of the mask.

Public property MaskStyle

Gets/sets a value which specified when to enable masking of the area outside of the rectangle.

Public property Movable

Gets/sets a value which specifies whether the rubberband rectangle can be dragged on the BitmapViewer control.

Public property OutlineColor1

Gets/sets the first color of the rectangle outline when it is dashed.

(Inherited from RectangleController.)
Public property OutlineColor2

Gets/sets the second color of the rectangle outline when it is dashed.

(Inherited from RectangleController.)
Public property OutlineStyle

Gets/sets the rectangle outline pen style (solid, dashed, etc).

(Inherited from RectangleController.)
Public property OutlineWidth

Gets/sets the rectangle outline width.

(Inherited from RectangleController.)
Public property Ratio

Gets/sets the aspect ratio of the rubberband rectangle which should be preserved when ResizeMode is Proportional.

Public property Rectangle

Gets/sets a rubberband rectangle.

Public property ResizeMode

Gets/sets an allowed resize mode for the rubberband rectangle.

Public property Site (Inherited from Component.)

Events

Name Description
Public event Disposed (Inherited from Component.)
Public event RectangleChanged

Fires when the rubberband rectangle is modified (mouse button is released).

Public event RectangleChanging

Fires during the rubberband rectangle modification (before the mouse button is released).

See Also

Reference