public abstract class HScreenConfiguration extends Object
HScreenConfiguration
class describes the characteristics (settings) of an HScreenDevice. There can be many HScreenConfiguration objects
associated with a single HScreenDevice.HScreenDevice| Modifier and Type | Method and Description |
|---|---|
Point |
convertTo(HScreenConfiguration destination,
Point source)
Convert a pixel position from one coordinate system to another
without including any rounding errors from passing through
normalized coordinates.
|
boolean |
getFlickerFilter()
Return whether this configuration includes filtering to reduce
interlace flicker.
|
boolean |
getInterlaced()
Return whether this configuration is interlaced
|
Dimension |
getOffset(HScreenConfiguration hsc)
Returns the offset between the origin of the pixel coordinate
space of the specified
HScreenConfiguration, and the origin of the current pixel
coordinate space of this HScreenConfiguration. |
Dimension |
getPixelAspectRatio()
Return the pixel aspect ratio of this configuration.
|
Dimension |
getPixelResolution()
Return the resolution of this configuration in pixels.
|
HScreenRectangle |
getScreenArea()
Return the position and size of this configuration on the
screen in screen coordinates.
|
public Point convertTo(HScreenConfiguration destination, Point source)
HScreenConfigurations isn't pixel based or doesn't yet have a
fixed location on the HScreen.
The source position is interpreted in the coordinate system of the HScreenConfiguration object on which this method is called.
destination - the destination HScreenConfiguration.source - the pixel position in this HScreenConfiguration.public boolean getFlickerFilter()
public boolean getInterlaced()
public Dimension getPixelAspectRatio()
public Dimension getPixelResolution()
public HScreenRectangle getScreenArea()
public Dimension getOffset(HScreenConfiguration hsc)
HScreenConfiguration, and the origin of the current pixel
coordinate space of this HScreenConfiguration. The
offset is returned in the pixel coordinate space of this HScreenConfiguration.hsc - the HScreenConfiguration to which the offset between pixel origins
should be recovered.HScreenConfiguration and the current pixel coordinate space of
this HScreenConfiguration. A null object will be returned if there
is insufficient information to recover the pixel offset.Copyright © 2012 code4tv.com. All Rights Reserved.