SimpleShape Class
A base class for shapes that have an outline.
Declaration
public abstract class SimpleShape extends StyledShapeBase
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
JavaObject
Constructors
SimpleShape() Constructor
Initializes a new instance of the SimpleShape class.
Declaration
public SimpleShape()
SimpleShape(float x, float y, float width, float height) Constructor
Initializes a new instance of the SimpleShape class with specified settings.
Declaration
public SimpleShape(float x, float y, float width, float height)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
| y | float | The Y-coordinate. |
| width | float | The shape width. |
| height | float | The shape height. |
SimpleShape(float x, float y, float width) Constructor
Initializes a new instance of the SimpleShape class with specified settings.
Declaration
public SimpleShape(float x, float y, float width)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
| y | float | The Y-coordinate. |
| width | float | The shape width. |
SimpleShape(float x, float y) Constructor
Initializes a new instance of the SimpleShape class with specified settings.
Declaration
public SimpleShape(float x, float y)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
| y | float | The Y-coordinate. |
SimpleShape(float x) Constructor
Initializes a new instance of the SimpleShape class with specified settings.
Declaration
public SimpleShape(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The X-coordinate. |
Methods
deepClone() Method
Clones the current SimpleShape instance.
Declaration
public SimpleShape deepClone()
Returns
| Type | Description |
|---|---|
SimpleShape |
The cloned |