CLASSES
TagsA - Z

SolidColorBrush2D

Description

class SolidColorBrush2D extends LockableBase

Constructor

new SolidColorBrush2D(color, lock)

Parameters

Name Type Description
color Color4
optional lock boolean

Members

color : Color4

The color used by this instance to render

@returns the color object. Note that it's not a clone of the actual object stored in the instance so you MUST NOT modify it, otherwise unexpected behavior might occurs.

Methods

isTransparent() → boolean

Return true if the brush is transparent, false if it's totally opaque

toString() → string

Return a unique identifier of the instance, which is simply the hexadecimal representation (CSS Style) of the solid color.