public class FontMatcher extends Object implements Serializable
SFont
with a criteria.Constructor and Description |
---|
FontMatcher() |
FontMatcher(SFont criteria)
Create a font matcher with a specified font as the criteria
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o1,
Object o2) |
boolean |
htmlColorEuqlas(Object o1,
Object o2) |
boolean |
match(SFont style) |
void |
removeBoldweight() |
void |
removeColor() |
void |
removeHeightPoints() |
void |
removeItalic() |
void |
removeName() |
void |
removeStrikeout() |
void |
removeTypeOffset() |
void |
removeUnderline() |
void |
setBoldweight(SFont.Boldweight boldweight) |
void |
setColor(String color) |
void |
setHeightPoints(int height) |
void |
setItalic(boolean italic) |
void |
setName(String name) |
void |
setStrikeout(boolean strikeout) |
void |
setTypeOffset(SFont.TypeOffset typeOffset) |
void |
setUnderline(SFont.Underline underline) |
public FontMatcher()
public FontMatcher(SFont criteria)
public void setColor(String color)
public void setName(String name)
public void setBoldweight(SFont.Boldweight boldweight)
public void setHeightPoints(int height)
public void setItalic(boolean italic)
public void setStrikeout(boolean strikeout)
public void setTypeOffset(SFont.TypeOffset typeOffset)
public void setUnderline(SFont.Underline underline)
public void removeColor()
public void removeName()
public void removeBoldweight()
public void removeHeightPoints()
public void removeItalic()
public void removeStrikeout()
public void removeTypeOffset()
public void removeUnderline()
public boolean match(SFont style)
Copyright © 2020. All rights reserved.