public final class Bx5GScreenProfile
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Bx5GScreenProfile.ScreenColorType
显示屏类型。
1:单基色。 3:双基色。 255:全彩。 |
static class |
Bx5GScreenProfile.ScreenMatrixType
点阵类型。控制器默认为 G+R 类型。
|
| Constructor and Description |
|---|
Bx5GScreenProfile(int width,
int height,
Bx5G bx5g)
建构子。
|
Bx5GScreenProfile(int width,
int height,
Bx5G bx5g,
Bx5GScreenProfile.ScreenColorType colorType)
建构子。
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
createMessageConst() |
java.awt.Color |
decodeColor(int color) |
int |
encodeColor(java.awt.Color color) |
Bx5GScreenProfile.ScreenColorType |
getColorType()
取得基色类型。
|
int |
getHeight()
取得屏幕高度。
|
Bx5GScreenProfile.ScreenMatrixType |
getMatrixType()
取得双基色点阵类型。
|
int |
getWidth()
取得屏幕宽度。
|
boolean |
isFullColor()
取得是否為全彩。
|
boolean |
isReverseFontData()
取得是否反轉字模。
|
void |
setMatrixType(Bx5GScreenProfile.ScreenMatrixType matrixType)
设定双基色点阵类型。
|
java.lang.String |
toString() |
public Bx5GScreenProfile(int width,
int height,
Bx5G bx5g)
width - 屏幕宽度。height - 屏幕高度。bx5g - BX5G 控制器规格。public Bx5GScreenProfile(int width,
int height,
Bx5G bx5g,
Bx5GScreenProfile.ScreenColorType colorType)
width - 屏幕宽度。height - 屏幕高度。bx5g - BX5G 控制器规格。colorType - 显示屏类型。public java.util.Map<java.lang.String,java.lang.Object> createMessageConst()
public java.awt.Color decodeColor(int color)
public int encodeColor(java.awt.Color color)
public Bx5GScreenProfile.ScreenColorType getColorType()
public int getHeight()
public Bx5GScreenProfile.ScreenMatrixType getMatrixType()
public int getWidth()
public boolean isFullColor()
public boolean isReverseFontData()
public void setMatrixType(Bx5GScreenProfile.ScreenMatrixType matrixType)
matrixType - 双基色点阵类型。public java.lang.String toString()
toString in class java.lang.Object