FilledShape Class
A shape with fill and outline settings.
Declaration
public abstract class FilledShape extends SimpleShape
Inherited Members
Inheritance
Constructors
FilledShape() Constructor
Initializes a new instance of the FilledShape class.
Declaration
public FilledShape()
FilledShape(float x, float y, float width, float height) Constructor
Initializes a new instance of the FilledShape class with specified settings.
Declaration
public FilledShape(float x, float y, float width, float height)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | The horizontal position of the shape. |
| y | float | The vertical position of the shape. |
| width | float | The width of the shape. |
| height | float | The height of the shape. |
Methods
deepClone() Method
Clones the current FilledShape instance.
Declaration
public FilledShape deepClone()
Returns
| Type | Description |
|---|---|
FilledShape |
The cloned |
getFill() Method
Returns the fill settings for the filled shape.
Declaration
public Fill getFill()
Returns
| Type | Description |
|---|---|
| Fill | The fill settings for the filled shape. |
getOutline() Method
Returns the outline style for the filled shape.
Declaration
public LineStyle getOutline()
Returns
| Type | Description |
|---|---|
| LineStyle | The outline style for the filled shape. |
getPlaceholderSettings() Method
Returns the placeholder settings for the filled shape.
Declaration
public PlaceholderSettings getPlaceholderSettings()
Returns
| Type | Description |
|---|---|
| PlaceholderSettings | The placeholder settings for the filled shape. |
setFill(Fill value) Method
Sets the fill settings for the filled shape.
Declaration
public void setFill(Fill value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | Fill | The fill settings for the filled shape. |
setOutline(LineStyle value) Method
Sets the outline style for the filled shape.
Declaration
public void setOutline(LineStyle value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | LineStyle | The outline style for the filled shape. |
setPlaceholderSettings(PlaceholderSettings value) Method
Sets the placeholder settings for the filled shape.
Declaration
public void setPlaceholderSettings(PlaceholderSettings value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | PlaceholderSettings | The placeholder settings for the filled shape. |