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 #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

DefinitionTypeReturn TypeDescription
ClickNoneBooleanFired when the user clicks on the control. Return True to cancel color selection.
ColorChangeNoneNoneFired when the user selects a new color.

Methods #

This class does not expose any methods.

Properties #

NameTypeDefault ValueDescription
AlphaGridSizeInteger10Size, in points, of each square of the grid used for denoting the alpha channel of a color.
BrightnessInteger255Determines the visibility of the glare overlay.
ColorValueColor&c000000The current color value.
HexValueString#000000The current Hex value.
InnerBorderColorColor&c000000The inner border color of the class.
OuterBorderColorColor&c000000The color on the outermost bounds of the class.
RealTimeBooleanTrueWhen True, the selector dialog will immediately update its parent component.
ShowGlareBooleanFalseDetermines whether the glare overlay will be drawn on the control.
ShowInnerBorderBooleanFalseSets the visibility of the inner border.
ShowOuterBorderBooleanFalseSets the visibility of the outer border.

Examples #

There are currently no examples for this class.