org.rococoa.cocoa.foundation
Class NSPoint

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.rococoa.cocoa.foundation.NSPoint
All Implemented Interfaces:
com.sun.jna.Structure.ByValue

public class NSPoint
extends com.sun.jna.Structure
implements com.sun.jna.Structure.ByValue

Author:
Harald Kuhr

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 CGFloat x
           
 CGFloat y
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NSPoint()
           
NSPoint(double x, double y)
           
NSPoint(java.awt.geom.Point2D point)
           
 
Method Summary
 java.awt.geom.Point2D getPoint()
           
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public final CGFloat x

y

public final CGFloat y
Constructor Detail

NSPoint

public NSPoint()

NSPoint

public NSPoint(double x,
               double y)

NSPoint

public NSPoint(java.awt.geom.Point2D point)
Method Detail

getPoint

public java.awt.geom.Point2D getPoint()


Copyright © 2009. All Rights Reserved.