Package io.github.libsdl4j.api.shape
Class SDL_WindowShapeMode
- java.lang.Object
-
- com.sun.jna.Structure
-
- io.github.libsdl4j.api.shape.SDL_WindowShapeMode
-
@FieldOrder({"mode","binarizationCutoffOrRed","g","b","a"}) public final class SDL_WindowShapeMode extends com.sun.jna.Structure
A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents.
-
-
Field Summary
Fields Modifier and Type Field Description byte
a
byte
b
byte
binarizationCutoffOrRed
A cutoff alpha value for binarization of the window shape's alpha channel.byte
g
int
mode
The mode of these window-shape parameters.
-
Constructor Summary
Constructors Constructor Description SDL_WindowShapeMode()
SDL_WindowShapeMode(com.sun.jna.Pointer p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getBinarizationCutoff()
SDL_Color
getColorKey()
int
getMode()
void
setBinarizationCutoff(byte newValue)
void
setColorKey(SDL_Color newValue)
void
setMode(int mode)
-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Method Detail
-
getMode
public int getMode()
-
setMode
public void setMode(int mode)
-
getBinarizationCutoff
public byte getBinarizationCutoff()
-
setBinarizationCutoff
public void setBinarizationCutoff(byte newValue)
-
getColorKey
public SDL_Color getColorKey()
-
setColorKey
public void setColorKey(SDL_Color newValue)
-
-