ICatchGLColor interface
package com.icatchtek.pancam.customer.type;public class ICatchGLColorextends java.lang.Object {...}
The color of the SDK. Each r, g, b attribute should not be more than 255.
Field Detail
BLACK
public static final ICatchGLColor BLACK
The black color
WHITE
public static final ICatchGLColor WHITE
The white color
RED
public static final ICatchGLColor RED
The red color
GREEN
public static final ICatchGLColor GREEN
The green color
BLUE
public static final ICatchGLColor BLUE
The blue color
Constructor
ICatchGLColor
public ICatchGLColor()
Default constructor, black color.
ICatchGLColor
public ICatchGLColor(int r,int g,int b,int a)
The constructor with user specified r,g,b,a.
Parameters:
- r - red component.
- g - green component.
- b - blue component.
- a - alpha component.**
Public methods
getR
public int getR()
Get the red component.
Returns:
Red component.
setR
public void setR(int r)
Set the red component.
Parameters:
- r - Red component.
getG
public int getG()
Get the green component.
Returns:
Green component.
setG
public void setG(int g)
Set the green component.
Parameters:
- g- Green component.
getB
public int getB()
Get the blue component.
Returns:
Blue component.
setB
public void setB(int b)
Set the blue component.
Parameters:
- b - Blue component.
getA
public int getA()
Get alpha component.
Returns:
Alpha component.
setA
public void setA(int a)
Set alpha component.
Parameters:
- a - Alpha component.
