The argbValue must start with 0xFF if the default full opacity is required. So 0xFFFF0000 gives full opacity Red
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Int1Elemtrait IntNElemtrait ValueNElemtrait SpecialTtrait FillFacettrait GraphicFacetclass AnyValtrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Returns the colour with the greatest contrast
Returns the colour with the greatest contrast
Attributes
Returns the colour that most contrasts with the 2 colours. This is useful for text that is displayed across 2 background colours.
Returns the colour that most contrasts with the 2 colours. This is useful for text that is displayed across 2 background colours.
Attributes
Darkens a colour by a defualt value of 2.
Darkens a colour by a defualt value of 2.
Attributes
The fill attribute for SVG.
The fill attribute for SVG.
Attributes
0x hexadecimal fromat for Scala and other languages.
0x hexadecimal fromat for Scala and other languages.
Attributes
Lightens a colour by a default value of 2
Lightens a colour by a default value of 2
Attributes
Modifies the alpha value of the rgba Int
Modifies the alpha value of the rgba Int
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Inherited methods
Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.