classPixelStitch::ColorWheel

sys::Obj
  fwt::Widget
    fwt::Canvas
      PixelStitch::ColorWheel

Color Wheel Canvas color is updated when clicked

brightness

Float brightness()

Brightness currently selected brightness

degreesAboutOrigin

Float degreesAboutOrigin(Point p)

Degrees about Origin returns 0 to 360

deltaPoint

Point deltaPoint(Point p)

Delta Point Distance representing difference in x and y coordinates

dialog

ColorDialog dialog

Parent Dialog widget

distanceFromOrigin

Float distanceFromOrigin(Point p)

Distance From Origin Direct linear distance between a point and the origin

lastMousePosition

Point? lastMousePosition

Last moust click position

make

new make(ColorDialog dialog)

Constructor and event registration

onPaint

virtual override Void onPaint(Graphics g)

onPaint Draw HSL COLOR WHEEL

origin

Point origin()

Origin of Circle

prefSize

virtual override Size prefSize(Hints hint := Hints.defVal)

Default Size

radius

Float radius()

Radius of Circle