Rectangle.extend Method¶
Module: Rectangle
Definition¶
Extends the rectangle by an amount in pixels on each side. Use on aligned rectangle only.
extend(self, horizontal_extent: int, vertical_extent: int) -> None
Parameters
horizontal_extentintin Extent on the top and bottom.vertical_extentintin Extent on the left and right.
Exceptions
An error has occurred during Face Library execution.
void extend(int horizontalExtent, int verticalExtent)
Parameters
horizontalExtentintin Extent on the top and bottom.verticalExtentintin Extent on the left and right.
Exceptions
An error has occurred during Face Library execution.
public void Extend(int horizontalExtent, int verticalExtent)
Parameters
horizontalExtentintin Extent on the top and bottom.verticalExtentintin Extent on the left and right.
Exceptions
An error has occurred during Face Library execution.
public void extend(int horizontalExtent, int verticalExtent) throws FaceException
Parameters
horizontalExtentintin Extent on the top and bottom.verticalExtentintin Extent on the left and right.
Exceptions
An error has occurred during Face Library execution.
public func extend(horizontalExtent: Int32, verticalExtent: Int32) throws
Parameters
horizontalExtentInt32in Extent on the top and bottom.verticalExtentInt32in Extent on the left and right.
Exceptions
An error has occurred during Face Library execution.
int id3FaceRectangle_Extend (
ID3_FACE_RECTANGLE hRectangle,
int horizontalExtent,
int verticalExtent)
Parameters
hRectangleID3_FACE_RECTANGLEin Handle to the Rectangle object.horizontalExtentintin Extent on the top and bottom.verticalExtentintin Extent on the left and right.
Returns