com.jniwrapper.win32.gdi
Class BlendFunction

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.gdi.BlendFunction
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class BlendFunction
extends com.jniwrapper.Structure

BlendStructure containts parameters for the AlphaBlend function. If source constant alpha is 255, the AlphaBlend function uses alpha for pixels only. If this value is 0, the image drawn by AlphaBlend is transparent. The image is semi-transparent in other cases. Alpha format is AC_SRC_ALPHA.


Field Summary
static int AC_SRC_ALPHA
           
static int AC_SRC_OVER
           
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
BlendFunction()
           
BlendFunction(BlendFunction that)
           
 
Method Summary
 java.lang.Object clone()
           
 void setAlphaFormat(int alphaFormat)
           
 void setSourceConstantAlpha(int sourceConstantAlpha)
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AC_SRC_OVER

public static final int AC_SRC_OVER
See Also:
Constant Field Values

AC_SRC_ALPHA

public static final int AC_SRC_ALPHA
See Also:
Constant Field Values
Constructor Detail

BlendFunction

public BlendFunction()

BlendFunction

public BlendFunction(BlendFunction that)
Method Detail

setSourceConstantAlpha

public void setSourceConstantAlpha(int sourceConstantAlpha)

setAlphaFormat

public void setAlphaFormat(int alphaFormat)

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure