com.jniwrapper.win32.gdi
Class GradientRect

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

public class GradientRect
extends com.jniwrapper.Structure

Represents GRADIENT_RECT native structure.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
GradientRect()
          Creates new instance of the GradientRect.
GradientRect(GradientRect that)
          Creates new instance of the GradientRect and initializes it by the specified one.
 
Method Summary
 java.lang.Object clone()
          Creates copy of this instance
 long getLowerRight()
          Returns the lower-right corner of a rectangle.
 long getUpperLeft()
          Returns the upper-left corner of a rectangle.
 void setLowerRight(long lowerRight)
          Sets the lower-right corner of a rectangle.
 void setUpperLeft(long upperLeft)
          Sets the upper-left corner of a rectangle.
 
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
 

Constructor Detail

GradientRect

public GradientRect()
Creates new instance of the GradientRect.


GradientRect

public GradientRect(GradientRect that)
Creates new instance of the GradientRect and initializes it by the specified one.

Parameters:
that - Instance of the GradientRect. The new instance will have same properties as this one.
Method Detail

getUpperLeft

public long getUpperLeft()
Returns the upper-left corner of a rectangle.

Returns:
The upper-left corner of a rectangle

setUpperLeft

public void setUpperLeft(long upperLeft)
Sets the upper-left corner of a rectangle.

Parameters:
upperLeft - The upper-left corner of a rectangle.

getLowerRight

public long getLowerRight()
Returns the lower-right corner of a rectangle.

Returns:
The lower-right corner of a rectangle.

setLowerRight

public void setLowerRight(long lowerRight)
Sets the lower-right corner of a rectangle.

Parameters:
lowerRight - The lower-right corner of a rectangle.

clone

public java.lang.Object clone()
Creates copy of this instance

Overrides:
clone in class com.jniwrapper.Structure
Returns:
The copy of this instance