public class GpPaint extends CFacade
grease pencil drawing brushes
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct GpPaint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
GpPaint(GpPaint that) |
|
GpPaint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<GpPaint> |
__io__addressof()
Instantiates a pointer on this instance.
|
Paint |
getPaint()
Get method for struct member 'paint'.
|
void |
setPaint(Paint paint)
Set method for struct member 'paint'.
|
__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 GpPaint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__paint
This is how you get a reference on the corresponding field in the struct:
GpPaint gppaint = ...; CPointer<Object> p = gppaint.__dna__addressof(GpPaint.__DNA__FIELD__paint); CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
public GpPaint(long __address, Block __block, BlockTable __blockTable)
protected GpPaint(GpPaint that)
public Paint getPaint() throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint
public void setPaint(Paint paint) throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint