Package com.helger.pdflayout.base
Interface IPLHasFillColor<IMPLTYPE extends IPLHasFillColor<IMPLTYPE>>
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>
- All Known Subinterfaces:
IPLBlockElement<IMPLTYPE>,IPLElement<IMPLTYPE>,IPLInlineElement<IMPLTYPE>
- All Known Implementing Classes:
AbstractPLBlockElement,AbstractPLBox,AbstractPLElement,AbstractPLExternalLink,AbstractPLImage,AbstractPLInlineBox,AbstractPLInlineElement,AbstractPLText,PLBox,PLExternalLink,PLImage,PLPageSet,PLStreamImage,PLTableCell,PLText
public interface IPLHasFillColor<IMPLTYPE extends IPLHasFillColor<IMPLTYPE>>
extends com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>
Base interface for objects with a fill color
- Author:
- Philip Helger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PLColorBy default nothing is filled, so the default value isnull. -
Method Summary
Modifier and TypeMethodDescriptiondefault booleansetFillColor(PLColor aFillColor) Set the element fill color.Methods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsT
-
Field Details
-
DEFAULT_FILL_COLOR
By default nothing is filled, so the default value isnull.
-
-
Method Details
-
setFillColor
Set the element fill color.- Parameters:
aFillColor- The fill color to use. May benull.- Returns:
- this
- Since:
- 7.2.0
-
getFillColor
- Returns:
- The current fill color. May be
null.
-
hasFillColor
default boolean hasFillColor()
-