Package io.webfolder.cdp.type.dom
Class RGBA
java.lang.Object
io.webfolder.cdp.type.dom.RGBA
A structure holding an RGBA color.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetA()
The alpha component, in the [0-1] range (default: 1).getB()
The blue component, in the [0-255] range.getG()
The green component, in the [0-255] range.getR()
The red component, in the [0-255] range.void
The alpha component, in the [0-1] range (default: 1).void
The blue component, in the [0-255] range.void
The green component, in the [0-255] range.void
The red component, in the [0-255] range.toString()
-
Constructor Details
-
RGBA
public RGBA()
-
-
Method Details
-
getR
The red component, in the [0-255] range. -
setR
The red component, in the [0-255] range. -
getG
The green component, in the [0-255] range. -
setG
The green component, in the [0-255] range. -
getB
The blue component, in the [0-255] range. -
setB
The blue component, in the [0-255] range. -
getA
The alpha component, in the [0-1] range (default: 1). -
setA
The alpha component, in the [0-1] range (default: 1). -
toString
-