public final class ColorSchemeAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
ColorSchemeAtom()
Create a new ColorSchemeAtom, to go with a new Slide
(创建一个新的 ColorSchemeAtom,与一个新的幻灯片一起使用)
|
protected |
ColorSchemeAtom(byte[] source, int start, int len)
For the Colour Scheme (ColorSchem) Atom
(对于配色方案 (ColorSchem) Atom)
|
Modifier and Type | Method and Description |
---|---|
int |
getAccentAndFollowingHyperlinkColourRGB()
Fetch the RGB value for Accent And Following Hyperlink Colour
(获取重音和超链接颜色的 RGB 值)
|
int |
getAccentAndHyperlinkColourRGB()
Fetch the RGB value for Accent And Hyperlink Colour
(获取重音和超链接颜色的 RGB 值)
|
int |
getAccentColourRGB()
Fetch the RGB value for Accent Colour
(获取 Accent Color 的 RGB 值)
|
int |
getBackgroundColourRGB()
Fetch the RGB value for Background Colour
(获取背景颜色的 RGB 值)
|
int |
getColor(int idx)
Returns color by its index
(按索引返回颜色)
|
int |
getFillsColourRGB()
Fetch the RGB value for Fills Colour
(获取填充颜色的 RGB 值)
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
We are of type 3999
(我们属于 3999 型)
|
int |
getShadowsColourRGB()
Fetch the RGB value for Shadows Colour
(获取阴影颜色的 RGB 值)
|
int |
getTextAndLinesColourRGB()
Fetch the RGB value for Text And Lines Colour
(获取文本和线条颜色的 RGB 值)
|
int |
getTitleTextColourRGB()
Fetch the RGB value for Title Text Colour
(获取标题文本颜色的 RGB 值)
|
static int |
joinRGB(byte[] rgb)
Convert from split R, G, B values to an integer RGB value
(从拆分的 R、G、B 值转换为整数 RGB 值)
|
static int |
joinRGB(byte r, byte g, byte b)
Convert from split R, G, B values to an integer RGB value
(从拆分的 R、G、B 值转换为整数 RGB 值)
|
void |
setAccentAndFollowingHyperlinkColourRGB(int rgb)
Set the RGB value for Accent And Following Hyperlink Colour
(设置重音和超链接颜色的 RGB 值)
|
void |
setAccentAndHyperlinkColourRGB(int rgb)
Set the RGB value for Accent And Hyperlink Colour
(设置重音和超链接颜色的 RGB 值)
|
void |
setAccentColourRGB(int rgb)
Set the RGB value for Accent Colour
(设置强调色的 RGB 值)
|
void |
setBackgroundColourRGB(int rgb)
Set the RGB value for Background Colour
(设置背景颜色的 RGB 值)
|
void |
setFillsColourRGB(int rgb)
Set the RGB value for Fills Colour
(设置填充颜色的 RGB 值)
|
void |
setShadowsColourRGB(int rgb)
Set the RGB value for Shadows Colour
(设置阴影颜色的 RGB 值)
|
void |
setTextAndLinesColourRGB(int rgb)
Set the RGB value for Text And Lines Colour
(设置文本和线条颜色的 RGB 值)
|
void |
setTitleTextColourRGB(int rgb)
Set the RGB value for Title Text Colour
(设置标题文本颜色的 RGB 值)
|
static byte[] |
splitRGB(int rgb)
Convert from an integer RGB value to individual R, G, B 0-255 values
(从整数 RGB 值转换为单独的 R、G、B 0-255 值)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected ColorSchemeAtom(byte[] source, int start, int len)
public ColorSchemeAtom()
public int getBackgroundColourRGB()
public void setBackgroundColourRGB(int rgb)
public int getTextAndLinesColourRGB()
public void setTextAndLinesColourRGB(int rgb)
public int getShadowsColourRGB()
public void setShadowsColourRGB(int rgb)
public int getTitleTextColourRGB()
public void setTitleTextColourRGB(int rgb)
public int getFillsColourRGB()
public void setFillsColourRGB(int rgb)
public int getAccentColourRGB()
public void setAccentColourRGB(int rgb)
public int getAccentAndHyperlinkColourRGB()
public void setAccentAndHyperlinkColourRGB(int rgb)
public int getAccentAndFollowingHyperlinkColourRGB()
public void setAccentAndFollowingHyperlinkColourRGB(int rgb)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public static byte[] splitRGB(int rgb)
public static int joinRGB(byte r, byte g, byte b)
public static int joinRGB(byte[] rgb)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public int getColor(int idx)
idx
- 0-based color index
(idx - 基于 0 的颜色索引)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.