Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class Rectangle

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Defines Rectangle for each user control object for video streaming application

Fields

KEY_X

public static final java.lang.String KEY_X
Constant Value
"x"

KEY_Y

public static final java.lang.String KEY_Y
Constant Value
"y"

KEY_WIDTH

public static final java.lang.String KEY_WIDTH
Constant Value
"width"

KEY_HEIGHT

public static final java.lang.String KEY_HEIGHT
Constant Value
"height"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

Rectangle()

public Rectangle()

Rectangle( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

public Rectangle(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash

Rectangle( Float x, Float y, Float width, Float height )

public Rectangle(Float x,Float y,Float width,Float height)

Parameters

x
y
width
height

Methods

setX( Float x )

Set the X-coordinate pixel in of the user control that starts in the upper left corner

public void setX(Float x)

Parameters

x

getX()

public java.lang.Float getX()

setY( Float y )

Set the Y-coordinate pixel of the user control that starts in the upper left corner

public void setY(Float y)

Parameters

y

getY()

public java.lang.Float getY()

setWidth( Float width )

Set the width in pixels of the user control's bounding rectangle in pixels

public void setWidth(Float width)

Parameters

width

getWidth()

public java.lang.Float getWidth()

setHeight( Float height )

The height in pixels of the user control's bounding rectangle

public void setHeight(Float height)

Parameters

height

getHeight()

public java.lang.Float getHeight()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section