Wikitude ARchitect v2.0 API Documentation
Wikitude ARchitect
>
AR
> BoundingRectangle
Filters
Show Deprecated
Class
BoundingRectangle
A BoundingRectangle delivers information on the size of a Drawable2D on the screen.
The Bounding Rectangle of a Drawable2D is defined as follows:
The Bounding Rectangle has it's edges parallel to the screen's edges.
The Bounding Rectangle fully contains the Drawable2D
The Bounding Rectangle of the Drawable2D is the smallest rectangle containing the Drawable2D.
BoundingRectangle must not be directly instantiated by the developer.
Methods
getHeight
float
getHeight
( )
Returns the height of the Drawable2D, in
SDUs
, after applying translations on the Drawable2D.
Important:
getHeight() does not deliver the actual height of the Drawable2D on the screen.
Returns:
float
The height of the BoundingRectangle in SDUs.
getWidth
float
getWidth
( )
Returns the width of the Drawable2D, in
SDUs
, after applying translations on the Drawable2D.
Important:
getWidth() does not deliver the actual width of the Drawable2D on the screen.
Returns:
float
The width of the BoundingRectangle in SDUs.
Modules
AR
Classes
ActionArea
ActionRange
AnimatedImageDrawable
Animation
AnimationGroup
ARchitectObject
ARObject
BoundingRectangle
Circle
CONST
context
Drawable
Drawable2D
GeoLocation
GeoObject
HtmlDrawable
ImageDrawable
ImageResource
Label
Location
logger
Model
PropertyAnimation
radar
RelativeLocation
Sound
Style
Trackable2DObject
Tracker
Methods
getHeight
getWidth
Copyright © 2013 Wikitude GmbH. All rights reserved.