Atalasoft MobileImage API Reference
Instance Methods | Properties | List of all members
kfxKEDBoundingRectangle Class Reference

Bounding Rectangle of four coordinates. More...

#import <kfxKEDBoundingRectangle.h>

Inheritance diagram for kfxKEDBoundingRectangle:

Instance Methods

(id) - initWithLeft:top:width:height:
 Initialize bounding rectangle with left, top, width, and height values. More...
 

Properties

int rectLeft
 Represents the left side of a rectangle. More...
 
int rectTop
 Represents the top edge of a rectangle. More...
 
int rectRight
 Represents the right side of a rectangle. More...
 
int rectBottom
 Represents the bottom edge of a rectangle. More...
 

Detailed Description

Bounding Rectangle of four coordinates.

Framework: libKfxEngines
Import suggestion: #import <kfxLibEngines/kfxEngines.h>
An instance of this class contains the bounding rectangle (in pixels) for an item in an image. These rectangle coordinates should always be less than or equal to the image width and height. See also: kfxKEDBoundingTetragon

Method Documentation

- (id) initWithLeft: (int)  left
top: (int)  top
width: (int)  width
height: (int)  height 

Initialize bounding rectangle with left, top, width, and height values.

Use this method to initialize an object of kfxKEDBoundingRectangle when you have values of left, top, width, and height.

kfxKEDBoundingRectangle* boundingRect = [[kfxKEDBoundingRectangle alloc] initWithLeft:0 top:0 width:100 height:30];

Property Documentation

- (int) rectBottom
readwriteatomicassign

Represents the bottom edge of a rectangle.

This bottom side of the rectangle references the largest Y coordinate.

- (int) rectLeft
readwriteatomicassign

Represents the left side of a rectangle.

This left side of the rectangle references the least X coordinate.

- (int) rectRight
readwriteatomicassign

Represents the right side of a rectangle.

This right side of the rectangle references the largest X coordinate.

- (int) rectTop
readwriteatomicassign

Represents the top edge of a rectangle.

This top side of the rectangle references the least Y coordinate.


The documentation for this class was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.