public final class ColorSchemeAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
ColorSchemeAtom()
Create a new ColorSchemeAtom, to go with a new Slide
|
protected |
ColorSchemeAtom(byte[] source,
int start,
int len)
For the Colour Scheme (ColorSchem) Atom
|
Modifier and Type | Method and Description |
---|---|
int |
getAccentAndFollowingHyperlinkColourRGB()
Fetch the RGB value for Accent And Following Hyperlink Colour
|
int |
getAccentAndHyperlinkColourRGB()
Fetch the RGB value for Accent And Hyperlink Colour
|
int |
getAccentColourRGB()
Fetch the RGB value for Accent Colour
|
int |
getBackgroundColourRGB()
Fetch the RGB value for Background Colour
|
int |
getColor(int idx)
Returns color by its index
|
int |
getFillsColourRGB()
Fetch the RGB value for Fills Colour
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
We are of type 3999
|
int |
getShadowsColourRGB()
Fetch the RGB value for Shadows Colour
|
int |
getTextAndLinesColourRGB()
Fetch the RGB value for Text And Lines Colour
|
int |
getTitleTextColourRGB()
Fetch the RGB value for Title Text Colour
|
static int |
joinRGB(byte[] rgb)
Convert from split R, G, B values to an integer RGB value
|
static int |
joinRGB(byte r,
byte g,
byte b)
Convert from split R, G, B values to an integer RGB value
|
void |
setAccentAndFollowingHyperlinkColourRGB(int rgb)
Set the RGB value for Accent And Following Hyperlink Colour
|
void |
setAccentAndHyperlinkColourRGB(int rgb)
Set the RGB value for Accent And Hyperlink Colour
|
void |
setAccentColourRGB(int rgb)
Set the RGB value for Accent Colour
|
void |
setBackgroundColourRGB(int rgb)
Set the RGB value for Background Colour
|
void |
setFillsColourRGB(int rgb)
Set the RGB value for Fills Colour
|
void |
setShadowsColourRGB(int rgb)
Set the RGB value for Shadows Colour
|
void |
setTextAndLinesColourRGB(int rgb)
Set the RGB value for Text And Lines Colour
|
void |
setTitleTextColourRGB(int rgb)
Set the RGB value for Title Text Colour
|
static byte[] |
splitRGB(int rgb)
Convert from an integer RGB value to individual R, G, B 0-255 values
|
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
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 indexpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.