Rectangle.fromPoints Method¶
Module: Rectangle
Definition¶
Creates a quadrangle from 4 points.
@staticmethod
from_points(top_left: Point, top_right: Point, bottom_right: Point, bottom_left: Point) -> Rectangle
Parameters
Returns
The newly created rectangle.
Exceptions
An error has occurred during Finger Library execution.
static Rectangle fromPoints(Point topLeft, Point topRight, Point bottomRight, Point bottomLeft)
Parameters
Returns
The newly created rectangle.
Exceptions
An error has occurred during Finger Library execution.
public static Rectangle FromPoints(Point topLeft, Point topRight, Point bottomRight, Point bottomLeft)
Parameters
Returns
The newly created rectangle.
Exceptions
An error has occurred during Finger Library execution.
public static Rectangle fromPoints(Point topLeft, Point topRight, Point bottomRight, Point bottomLeft) throws FingerException
Parameters
Returns
The newly created rectangle.
Exceptions
An error has occurred during Finger Library execution.
public static func fromPoints(topLeft: Point, topRight: Point, bottomRight: Point, bottomLeft: Point) throws -> Rectangle
Parameters
Returns
The newly created rectangle.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerRectangle_FromPoints (
ID3_FINGER_RECTANGLE hRectangle,
const id3FingerPoint * sTopLeft,
const id3FingerPoint * sTopRight,
const id3FingerPoint * sBottomRight,
const id3FingerPoint * sBottomLeft)
Parameters
hRectangle
ID3_FINGER_RECTANGLEin Handle to the Rectangle object.sTopLeft
const id3FingerPoint *in Top-left corner of the quadrangle.sTopRight
const id3FingerPoint *in Top-right corner of the quadrangle.sBottomRight
const id3FingerPoint *in Bottom-right corner of the rectangle.sBottomLeft
const id3FingerPoint *in Bottom-left corner of the rectangle.
Returns