GraffitiColorPicker

View Categories

Images #

About #

GraffitiColorPicker is an advanced color selector class for Xojo that allows your users to pick exactly the color they need, whether that be by name, selection with the mouse, or directly entering a value. This cross-platform picker also ensures that, no matter which platform your app is on, the experience is always the same.

Features:

  • Named Colors
  • Recent Colors (per user)
  • System Colors
  • Custom Selection with RGB Sliders
  • Custom Selection by Hex Value
  • Color Wheel Selector
  • Color Spectrum Selector
  • Alpha Channel Support

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Description
Click() as Boolean Fired when the user clicks on the control. Return True to cancel color selection.
ColorChange() Fired when the user selects a new color.

Methods #

Definition Description

This class does not expose any methods.

Properties #

Name Type Default Value Description
Brightness Integer 255 Determines the visibility of the glare overlay.
ColorValue Color &c000000 The current color value.
HexValue String #000000 The current Hex value.
InnerBorderColor Color &c000000 The inner border color of the class.
OuterBorderColor Color &c000000 The color on the outermost bounds of the class.
RealTime Boolean True When True, the selector dialog will immediately update its parent component.
ShowGlare Boolean False Determines whether the glare overlay will be drawn on the control.
ShowInnerBorder Boolean False Sets the visibility of the inner border.
ShowOuterBorder Boolean False Sets the visibility of the outer border.

Examples #

There are currently no examples for this class.