Implements TRubberBand used to draw a "rubber-band" selection. RubberBand.pas contains types and classes needed to implement a rubber-band selection control in the Lazarus Component Library (LCL). Defines the shape drawn for a rubber-band selection.

TRubberBandShape is an enumerated type with values that define the shape for the rubber-band selection drawn in TCustomRubberBand and descendent classes. TRubberBandShape is the type used to implement the Shape property in TCustomRubberBand.

TRubberBandShape corresponds to the shape values expected in the QT widgetset.

Rubber-band selection is drawn as a line; can represent either a horizontal or a vertical line. Rubber-band selection is drawn as a rectangle; may be a filled semi-transparent rectangle or a dotted outline depending on the style. Base class which implements a rubber-band selection.

TCustomRubberBand is a TWinControl descendant which implements a control used to draw rubber-band selections in the Lazarus Component Library (LCL). TCustomRubberBand is used to provide support for selection shape maps used in widgetset classes, especially widgetset design-time classes.

Set the value in the Shape property to control the appearance for the rubber-band selection drawn for the target platform.

Gets the value for the Shape property. Value for the property. Sets the value for the Shape property. New value for the property. Constructor for the class instance.

Create is the overridden constructor for the class instance, and calls the inherited constructor on entry to the method. Create sets the default value for the Shape property to rsLine.

Owner of the class instance. The Shape of the rubber band device: a line or a rectangle around the selection.

Shape is a TRubberBandShape property which contains the shape drawn for the rubber-band selection. The default value for the property is rbsLine.

Values in the Shape property correspond to the shape values used in the QT widgetset. See TRubberBandShape for more information about the enumeration values and their meanings.

Implements a rubber-band selection.

TRubberBand is a TCustomRubberBand descendant which which implements a control used to draw rubber-band selections in the Lazarus Component Library (LCL). TRubberBand is used to provide support for selection shape maps used in widgetset classes, especially widgetset design-time classes.

Set the value in the Shape property to control the appearance for the rubber-band selection drawn for the target platform.