Namespace EasyXLS.Drawings
Class FontDrawingObject
- System.Object
-
- EasyXLS.Drawings.DrawingObject
-
- EasyXLS.Drawings.LineDrawingObject
-
- EasyXLS.Drawings.FillDrawingObject
-
- EasyXLS.Drawings.EffectDrawingObject
-
- EasyXLS.Drawings.FontDrawingObject
-
- All Implemented Interfaces:
IEffectDrawingObject
,IFontDrawingObject
- Direct Known Subclasses:
AlignDrawingObject
,ExcelChartArea
,ExcelChartLegend
,ExcelDataTable
public class FontDrawingObject extends EffectDrawingObject implements IFontDrawingObject
This class stores a drawing shape having a font formatting.
-
-
Constructor Summary
Constructors Constructor Description FontDrawingObject()
Defines an instance of a drawing shape having a font formatting.
-
Method Summary
Modifier and Type Method Description FontFormat
getFontFormat()
Returns the font format of the drawing shape.void
setFontFormat(FontFormat fontFormat)
Sets the font format of the drawing shape.-
Methods inherited from class EasyXLS.Drawings.EffectDrawingObject
get3DFormat, set3DFormat
-
Methods inherited from class EasyXLS.Drawings.FillDrawingObject
getFillFormat, setFillFormat
-
Methods inherited from class EasyXLS.Drawings.LineDrawingObject
getLineColorFormat, getLineStyleFormat, getShadowFormat, setLineColorFormat, setLineStyleFormat, setShadowFormat
-
Methods inherited from class EasyXLS.Drawings.DrawingObject
getHeight, getHorizontalOffset, getRelativeHeight, getRelativeHorizontalOffset, getRelativeVerticalOffset, getRelativeWidth, getVerticalOffset, getWidth, setLeftUpperOffset, setRelativeLeftUpperOffset, setRelativeSize, setSize
-
-
-
-
Method Detail
-
getFontFormat
public FontFormat getFontFormat()
Returns the font format of the drawing shape.- Specified by:
getFontFormat
in interfaceIFontDrawingObject
- Returns:
- the font format of the drawing shape
- See Also:
setFontFormat(EasyXLS.Drawings.Formatting.FontFormat)
-
setFontFormat
public void setFontFormat(FontFormat fontFormat)
Sets the font format of the drawing shape.- Specified by:
setFontFormat
in interfaceIFontDrawingObject
- Parameters:
fontFormat
- the font format of the drawing shape- See Also:
getFontFormat()
-
-