@Name(value="cv::Size_<float>") @NoOffset @Properties(inherit=opencv_core.class) public class Size2f extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Size2f()
default constructor
|
Size2f(float _width,
float _height) |
Size2f(long size)
Native array allocator.
|
Size2f(Point2f pt) |
Size2f(Pointer p)
Pointer cast constructor.
|
Size2f(Size2f sz) |
| Modifier and Type | Method and Description |
|---|---|
float |
area()
the area (width*height)
|
double |
aspectRatio()
aspect ratio (width/height)
|
boolean |
empty()
true if empty
|
float |
height()
the height
|
Size2f |
height(float setter) |
Size2f |
position(long position) |
Size2f |
put(Size2f sz) |
float |
width()
the width
|
Size2f |
width(float setter) |
asBuffer, capacity, get, get, get, get, limit, put, put, put, putaddress, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Size2f(Pointer p)
Pointer.Pointer(Pointer).public Size2f(long size)
Pointer.position(long).public Size2f()
public Size2f(float _width,
float _height)
public Size2f position(long position)
position in class FloatPointerpublic float area()
public double aspectRatio()
public float width()
public Size2f width(float setter)
public float height()
public Size2f height(float setter)
Copyright © 2019. All rights reserved.