SolidFill Class
A solid fill applied to a shape or slide background.
Declaration
public class SolidFill extends OutlineFill
Remarks
The following code snippet applies a solid fill to a slide background:
import com.devexpress.docs.presentation.*;
import com.devexpress.system.drawing.*;
SlideLayout slideLayout = new SlideLayout(SlideLayoutType.BLANK, "slide");
Slide slide = new Slide(slideLayout);
SolidFill fill = new SolidFill(Color.getLightCyan());
slide.setBackground(new CustomSlideBackground(fill));
For more information on how to customize the slide or shape fill, refer to the following help topics:
Inherited Members
Inheritance
Constructors
SolidFill(Color color) Constructor
Initializes a new instance of the SolidFill class with specified settings.
Declaration
public SolidFill(Color color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | Color | Specifies the color for the solid fill. |
SolidFill(OfficeColor color) Constructor
Initializes a new instance of the SolidFill class with specified settings.
Declaration
public SolidFill(OfficeColor color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | OfficeColor | Specifies the office color for the solid fill. |
SolidFill(SchemeColors color) Constructor
Initializes a new instance of the SolidFill class with specified settings.
Declaration
public SolidFill(SchemeColors color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | SchemeColors | Specifies the scheme color for the solid fill. |
SolidFill(SystemColors color) Constructor
Initializes a new instance of the SolidFill class with specified settings.
Declaration
public SolidFill(SystemColors color)
Parameters
| Name | Type | Description |
|---|---|---|
| color | SystemColors | Specifies the system color for the solid fill. |
Methods
deepClone() Method
Returns a deep copy of this SolidFill instance.
Declaration
public SolidFill deepClone()
Returns
| Type | Description |
|---|---|
SolidFill |
A deep copy of this |
getColor() Method
Returns the solid fill color.
Declaration
public OfficeColor getColor()
Returns
| Type | Description |
|---|---|
| OfficeColor | The solid fill color. |
getType() Method
Returns the fill type.
Declaration
public FillType getType()
Returns
| Type | Description |
|---|---|
| FillType | Fill type. |
setColor(OfficeColor value) Method
Sets the solid fill color.
Declaration
public void setColor(OfficeColor value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | OfficeColor | The solid fill color. |