public class AssumedObjectData extends Object
The assumed object's data. Includes object's type and area.
| Constructor and Description |
|---|
AssumedObjectData()
Initializes a new instance of the
AssumedObjectData class. |
AssumedObjectData(int type,
Rectangle bounds)
Initializes a new instance of the
AssumedObjectData class. |
AssumedObjectData(String type,
Rectangle bounds)
Initializes a new instance of the
AssumedObjectData class. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getBounds()
Gets the object's bounds.
|
int |
getType()
Gets the object's type.
|
void |
setBounds(Rectangle value)
Sets the object's bounds.
|
void |
setType(int value)
Sets the object's type.
|
public AssumedObjectData()
Initializes a new instance of the AssumedObjectData class.
public AssumedObjectData(int type,
Rectangle bounds)
Initializes a new instance of the AssumedObjectData class.
type - The object's type.bounds - The object's bounds.DetectedObjectTypepublic AssumedObjectData(String type, Rectangle bounds)
Initializes a new instance of the AssumedObjectData class.
type - The object's type.bounds - The object's bounds.public final int getType()
Gets the object's type.
public final void setType(int value)
Sets the object's type.
value - the object's type.public final Rectangle getBounds()
Gets the object's bounds.
public final void setBounds(Rectangle value)
Sets the object's bounds.
value - the object's bounds.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.