public class HScreenDimension extends Object
HScreenDimension
denotes a
screen dimension expressed as a relative value of the screen
dimensions. Note that since these are relative dimensions they are
effectively independent of any particular screen's physical
dimensions, or aspect ratio.
Note that the extents of the dimension must be positive (including zero), but are otherwise unconstrained - and hence may denote areas greater in size than the entire screen.
Hence,
Note that systems using HScreenDimensions
directly should consider the effects of rounding
errors, etc.
Parameter | Description | Default value | Set method | Get method |
---|---|---|---|---|
width | The horizontal extent of the dimension | no default constructor exists | setSize |
--- |
height | The vertical extent of the dimension | no default constructor exists | setSize |
--- |
Description | Default value | Set method | Get method |
---|---|---|---|
None. |
HScreenPoint
Constructor and Description |
---|
HScreenDimension(float width,
float height)
Creates an
HScreenDimension object. |
public HScreenDimension(float width, float height)
HScreenDimension
object. See the class description for
details of constructor parameters and default values.Copyright © 2013 CableLabs. All rights reserved.