public interface FontStyle extends MemoryStructure
Modifier and Type | Interface and Description |
---|---|
static class |
FontStyle.Attribute |
static class |
FontStyle.StandardColors
These symbols are used to specify text color, graphic color and background color in a variety of C API structures.
|
static class |
FontStyle.StandardFonts
These symbols define the standard type faces.
|
Modifier and Type | Method and Description |
---|---|
Set<FontStyle.Attribute> |
getAttributes() |
FontStyle.StandardColors |
getColor() |
FontStyle.StandardFonts |
getFontFace() |
short |
getPointSize() |
default boolean |
isBold() |
default boolean |
isExtrude() |
default boolean |
isItalic() |
default boolean |
isShadow() |
default boolean |
isStrikeout() |
default boolean |
isSub() |
default boolean |
isSuper() |
default boolean |
isUnderline() |
FontStyle |
setAttributes(Collection<FontStyle.Attribute> attributes) |
default FontStyle |
setBold(boolean b) |
FontStyle |
setColor(FontStyle.StandardColors color) |
default FontStyle |
setExtrude(boolean b) |
FontStyle |
setFontFace(FontStyle.StandardFonts font) |
default FontStyle |
setItalic(boolean b) |
FontStyle |
setPointSize(int size) |
default FontStyle |
setShadow(boolean b) |
default FontStyle |
setStrikeout(boolean b) |
default FontStyle |
setSub(boolean b) |
default FontStyle |
setSuper(boolean b) |
default FontStyle |
setUnderline(boolean b) |
getData
short getPointSize()
FontStyle setPointSize(int size)
FontStyle.StandardFonts getFontFace()
FontStyle setFontFace(FontStyle.StandardFonts font)
FontStyle.StandardColors getColor()
FontStyle setColor(FontStyle.StandardColors color)
Set<FontStyle.Attribute> getAttributes()
FontStyle setAttributes(Collection<FontStyle.Attribute> attributes)
default FontStyle setBold(boolean b)
default boolean isBold()
default FontStyle setItalic(boolean b)
default boolean isItalic()
default FontStyle setUnderline(boolean b)
default boolean isUnderline()
default FontStyle setStrikeout(boolean b)
default boolean isStrikeout()
default FontStyle setSuper(boolean b)
default boolean isSuper()
default FontStyle setSub(boolean b)
default boolean isSub()
default FontStyle setShadow(boolean b)
default boolean isShadow()
default FontStyle setExtrude(boolean b)
default boolean isExtrude()
Copyright © 2019–2021 HCL. All rights reserved.