Package io.keikai.model.impl
Class WordArtImpl
java.lang.Object
io.keikai.model.impl.WordArtImpl
- All Implemented Interfaces:
SWordArt,Serializable
Default implementation of
SWordArt.- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SWordArt
SWordArt.PresetType -
Constructor Summary
ConstructorsConstructorDescriptionWordArtImpl(SWordArt.PresetType presetType, String text, SFont font, String fillColor, String outlineColor, ViewAnchor anchor) Constructs a WordArt object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the anchor that positions this WordArt on the sheet.Returns the fill color as an HTML color string (e.g., "#FF0000").getFont()Returns the font used for this WordArt.Returns the outline color as an HTML color string (e.g., "#000000").Returns the preset text warp type.getText()Returns the display text.voidSets the display text.
-
Constructor Details
-
WordArtImpl
public WordArtImpl(SWordArt.PresetType presetType, String text, SFont font, String fillColor, String outlineColor, ViewAnchor anchor) Constructs a WordArt object.- Parameters:
presetType- the text warp preset typetext- the display textfont- the fontfillColor- the fill color (HTML string, e.g., "#FF0000")outlineColor- the outline color (HTML string)anchor- the position anchor on the sheet
-
-
Method Details
-
getPresetType
Description copied from interface:SWordArtReturns the preset text warp type.- Specified by:
getPresetTypein interfaceSWordArt- Returns:
- the preset type
-
getText
Description copied from interface:SWordArtReturns the display text. -
setText
Description copied from interface:SWordArtSets the display text. -
getFont
Description copied from interface:SWordArtReturns the font used for this WordArt. -
getFillColor
Description copied from interface:SWordArtReturns the fill color as an HTML color string (e.g., "#FF0000").- Specified by:
getFillColorin interfaceSWordArt- Returns:
- the fill color, or null if no fill
-
getOutlineColor
Description copied from interface:SWordArtReturns the outline color as an HTML color string (e.g., "#000000").- Specified by:
getOutlineColorin interfaceSWordArt- Returns:
- the outline color, or null if no outline
-
getAnchor
Description copied from interface:SWordArtReturns the anchor that positions this WordArt on the sheet.
-