public class CutConfig extends Object
┌─┐ ┌─┐
┌──┘ ┴───────┘ ┴──┐
│ │
│ ─── │
│ ─┬┘ └┬─ │
│ │
│ ─┴─ │
│ │
└───┐ ┌───┘
│ │
│ │
│ │
│ └──────────────┐
│ │
│ ├─┐
│ author:lelouch ┌─┘
│ │
└─┐ ┐ ┌───────┬──┐ ┌──┘
│ ─┤ ─┤ │ ─┤ ─┤
└──┴──┘ └──┴──┘
神兽保佑
代码无BUG!
| 构造器和说明 |
|---|
CutConfig(CutMode cutMode,
int width,
int height)
Instantiates a new Cut config.
|
CutConfig(int width,
int height)
Instantiates a new Cut config.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CutMode |
getCutMode()
Gets cut mode.
|
Color |
getFillColor()
Gets fill color.
|
String |
getFormat() |
int |
getHeight()
Gets height.
|
int |
getWidth()
Gets width.
|
boolean |
isTransparent()
Is transparent boolean.
|
void |
setCutMode(CutMode cutMode)
Sets cut mode.
|
void |
setFillColor(Color fillColor)
Sets fill color.
|
void |
setFormat(String format) |
void |
setHeight(int height)
Sets height.
|
void |
setTransparent(boolean transparent)
Sets transparent.
|
void |
setWidth(int width)
Sets width.
|
public CutConfig(CutMode cutMode, int width, int height)
cutMode - the cut modewidth - the widthheight - the heightpublic CutConfig(int width,
int height)
width - the widthheight - the heightpublic String getFormat()
public void setFormat(String format)
public boolean isTransparent()
public void setTransparent(boolean transparent)
transparent - the transparentpublic CutMode getCutMode()
public void setCutMode(CutMode cutMode)
cutMode - the cut modepublic int getWidth()
public void setWidth(int width)
width - the widthpublic int getHeight()
public void setHeight(int height)
height - the heightpublic Color getFillColor()
public void setFillColor(Color fillColor)
fillColor - the fill colorCopyright © 2020. All rights reserved.