[Overview][Classes][Index] Reference for unit 'fpg_ColorWheel' (#fpgui)

TfpgColorWheel

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A colorwheel component.

Declaration

Source position: fpg_colorwheel.pas line 32

type TfpgColorWheel = class(TfpgWidget)

public

  constructor Create(); override;

  destructor Destroy; override;

  property Hue: LongInt; [r]

  

Hue value of selected color.

  property Saturation: Double; [r]

  

Saturation value of selected color.

  procedure SetSelectedColor();

  

Sets a new color value programatically.

published

  property Align;

  property BackgroundColor;

  property Enabled;

  property ValueBar: TfpgValueBar; [rw]

  

Used to link the ColorWheel to the ValueBar component.

  property MarginWidth: LongInt; [rw]

  

The width of the black area around the wheel.

  property CursorSize: LongInt; [rw]

  

Size of the crosshair.

  property WhiteAreaPercent: LongInt; [rw]

  

The percentage from the centre of the wheel.

  property OnChange: TNotifyEvent; [rw]

  

This event is triggered when a new color has been selected in the wheel.

end;

Inheritance

TfpgColorWheel

  

A colorwheel component.

|

TfpgWidget

  

This forms the basis of any visual widget in fpGUI

|

TfpgWindow

  

Encapsulates a top level or child window

|

TfpgWindowImpl

  

Maps to a backend specific base class

|

TfpgX11Window

  

Implements XLib specific windowing functionality

|

TfpgWindowBase

  

Abstract class use for representing a Window or Widget

|

TfpgComponent

  

A descendant of the FPC TComponent class

|

TComponent

?

TObject

Description

This component draws a ColorWheel at runtime. This allows the user to select the Hue and Saturation values in the HSV color range.


Documentation generated on: 2013-04-29