public class uiFontStyle extends CFacade
this state defines appearance of text
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__bold
Field descriptor (offset) for struct member 'bold'.
|
static long[] |
__DNA__FIELD__italic
Field descriptor (offset) for struct member 'italic'.
|
static long[] |
__DNA__FIELD__kerning
Field descriptor (offset) for struct member 'kerning'.
|
static long[] |
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.
|
static long[] |
__DNA__FIELD__shadow
Field descriptor (offset) for struct member 'shadow'.
|
static long[] |
__DNA__FIELD__shadowalpha
Field descriptor (offset) for struct member 'shadowalpha'.
|
static long[] |
__DNA__FIELD__shadowcolor
Field descriptor (offset) for struct member 'shadowcolor'.
|
static long[] |
__DNA__FIELD__shadx
Field descriptor (offset) for struct member 'shadx'.
|
static long[] |
__DNA__FIELD__shady
Field descriptor (offset) for struct member 'shady'.
|
static long[] |
__DNA__FIELD__uifont_id
Field descriptor (offset) for struct member 'uifont_id'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct uiFontStyle.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
uiFontStyle(long __address,
Block __block,
BlockTable __blockTable) |
protected |
uiFontStyle(uiFontStyle that) |
Modifier and Type | Method and Description |
---|---|
CPointer<uiFontStyle> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getBold()
Get method for struct member 'bold'.
|
short |
getItalic()
Get method for struct member 'italic'.
|
short |
getKerning()
Get method for struct member 'kerning'.
|
short |
getPoints()
Get method for struct member 'points'.
|
short |
getShadow()
Get method for struct member 'shadow'.
|
float |
getShadowalpha()
Get method for struct member 'shadowalpha'.
|
float |
getShadowcolor()
Get method for struct member 'shadowcolor'.
|
short |
getShadx()
Get method for struct member 'shadx'.
|
short |
getShady()
Get method for struct member 'shady'.
|
short |
getUifont_id()
Get method for struct member 'uifont_id'.
|
void |
setBold(short bold)
Set method for struct member 'bold'.
|
void |
setItalic(short italic)
Set method for struct member 'italic'.
|
void |
setKerning(short kerning)
Set method for struct member 'kerning'.
|
void |
setPoints(short points)
Set method for struct member 'points'.
|
void |
setShadow(short shadow)
Set method for struct member 'shadow'.
|
void |
setShadowalpha(float shadowalpha)
Set method for struct member 'shadowalpha'.
|
void |
setShadowcolor(float shadowcolor)
Set method for struct member 'shadowcolor'.
|
void |
setShadx(short shadx)
Set method for struct member 'shadx'.
|
void |
setShady(short shady)
Set method for struct member 'shady'.
|
void |
setUifont_id(short uifont_id)
Set method for struct member 'uifont_id'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for uiFontStyle.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__uifont_id
Saved in file, 0 is default.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__uifont_id); CPointer<Short> p_uifont_id = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__points
Actual size depends on 'global' dpi.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__points); CPointer<Short> p_points = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__kerning
Unfitted or default kerning value.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__kerning); CPointer<Short> p_kerning = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__italic
Style hint.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__italic); CPointer<Short> p_italic = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__bold
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__bold); CPointer<Short> p_bold = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shadow
Value is amount of pixels blur.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadow); CPointer<Short> p_shadow = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shadx
Shadow offset in pixels.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadx); CPointer<Short> p_shadx = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shady
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shady); CPointer<Short> p_shady = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shadowalpha
Total alpha.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadowalpha); CPointer<Float> p_shadowalpha = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__shadowcolor
1 value, typically white or black anyway.
This is how you get a reference on the corresponding field in the struct:
uiFontStyle uifontstyle = ...; CPointer<Object> p = uifontstyle.__dna__addressof(uiFontStyle.__DNA__FIELD__shadowcolor); CPointer<Float> p_shadowcolor = p.cast(new Class[]{Float.class});
public uiFontStyle(long __address, Block __block, BlockTable __blockTable)
protected uiFontStyle(uiFontStyle that)
public short getUifont_id() throws java.io.IOException
Saved in file, 0 is default.
java.io.IOException
__DNA__FIELD__uifont_id
public void setUifont_id(short uifont_id) throws java.io.IOException
Saved in file, 0 is default.
java.io.IOException
__DNA__FIELD__uifont_id
public short getPoints() throws java.io.IOException
Actual size depends on 'global' dpi.
java.io.IOException
__DNA__FIELD__points
public void setPoints(short points) throws java.io.IOException
Actual size depends on 'global' dpi.
java.io.IOException
__DNA__FIELD__points
public short getKerning() throws java.io.IOException
Unfitted or default kerning value.
java.io.IOException
__DNA__FIELD__kerning
public void setKerning(short kerning) throws java.io.IOException
Unfitted or default kerning value.
java.io.IOException
__DNA__FIELD__kerning
public short getItalic() throws java.io.IOException
Style hint.
java.io.IOException
__DNA__FIELD__italic
public void setItalic(short italic) throws java.io.IOException
Style hint.
java.io.IOException
__DNA__FIELD__italic
public short getBold() throws java.io.IOException
java.io.IOException
__DNA__FIELD__bold
public void setBold(short bold) throws java.io.IOException
java.io.IOException
__DNA__FIELD__bold
public short getShadow() throws java.io.IOException
Value is amount of pixels blur.
java.io.IOException
__DNA__FIELD__shadow
public void setShadow(short shadow) throws java.io.IOException
Value is amount of pixels blur.
java.io.IOException
__DNA__FIELD__shadow
public short getShadx() throws java.io.IOException
Shadow offset in pixels.
java.io.IOException
__DNA__FIELD__shadx
public void setShadx(short shadx) throws java.io.IOException
Shadow offset in pixels.
java.io.IOException
__DNA__FIELD__shadx
public short getShady() throws java.io.IOException
java.io.IOException
__DNA__FIELD__shady
public void setShady(short shady) throws java.io.IOException
java.io.IOException
__DNA__FIELD__shady
public float getShadowalpha() throws java.io.IOException
Total alpha.
java.io.IOException
__DNA__FIELD__shadowalpha
public void setShadowalpha(float shadowalpha) throws java.io.IOException
Total alpha.
java.io.IOException
__DNA__FIELD__shadowalpha
public float getShadowcolor() throws java.io.IOException
1 value, typically white or black anyway.
java.io.IOException
__DNA__FIELD__shadowcolor
public void setShadowcolor(float shadowcolor) throws java.io.IOException
1 value, typically white or black anyway.
java.io.IOException
__DNA__FIELD__shadowcolor
public CPointer<uiFontStyle> __io__addressof()