public class DRFont extends Object implements DRIFont
DRFont class.
Constructor and Description |
---|
DRFont()
Constructor for DRFont.
|
DRFont(String fontName,
boolean bold,
boolean italic,
int fontSize)
Constructor for DRFont.
|
DRFont(String fontName,
int fontSize)
Constructor for DRFont.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getBold()
getBold.
|
String |
getFontName()
getFontName.
|
Integer |
getFontSize()
getFontSize.
|
Boolean |
getItalic()
getItalic.
|
Boolean |
getPdfEmbedded()
getPdfEmbedded.
|
String |
getPdfEncoding()
getPdfEncoding.
|
String |
getPdfFontName()
getPdfFontName.
|
Boolean |
getStrikeThrough()
getStrikeThrough.
|
Boolean |
getUnderline()
getUnderline.
|
void |
setBold(Boolean bold)
Setter for the field
bold . |
void |
setFontName(String fontName)
Setter for the field
fontName . |
void |
setFontSize(Integer fontSize)
Setter for the field
fontSize . |
void |
setItalic(Boolean italic)
Setter for the field
italic . |
void |
setPdfEmbedded(Boolean pdfEmbedded)
Deprecated.
|
void |
setPdfEncoding(String pdfEncoding)
Deprecated.
|
void |
setPdfFontName(String pdfFontName)
Deprecated.
|
void |
setStrikeThrough(Boolean strikeThrough)
Setter for the field
strikeThrough . |
void |
setUnderline(Boolean underline)
Setter for the field
underline . |
public DRFont()
Constructor for DRFont.
public DRFont(String fontName, int fontSize)
Constructor for DRFont.
fontName
- a String
object.fontSize
- a int.public String getFontName()
getFontName.
getFontName
in interface DRIFont
String
object.public void setFontName(String fontName)
Setter for the field fontName
.
fontName
- a String
object.public Boolean getBold()
getBold.
public void setBold(Boolean bold)
Setter for the field bold
.
bold
- a Boolean
object.public Boolean getItalic()
getItalic.
public void setItalic(Boolean italic)
Setter for the field italic
.
italic
- a Boolean
object.public Boolean getUnderline()
getUnderline.
getUnderline
in interface DRIFont
Boolean
object.public void setUnderline(Boolean underline)
Setter for the field underline
.
underline
- a Boolean
object.public Boolean getStrikeThrough()
getStrikeThrough.
getStrikeThrough
in interface DRIFont
Boolean
object.public void setStrikeThrough(Boolean strikeThrough)
Setter for the field strikeThrough
.
strikeThrough
- a Boolean
object.public Integer getFontSize()
getFontSize.
getFontSize
in interface DRIFont
Integer
object.public void setFontSize(Integer fontSize)
Setter for the field fontSize
.
fontSize
- a Integer
object.public String getPdfFontName()
getPdfFontName.
getPdfFontName
in interface DRIFont
String
object.@Deprecated public void setPdfFontName(String pdfFontName)
Setter for the field pdfFontName
.
pdfFontName
- a String
object.public String getPdfEncoding()
getPdfEncoding.
getPdfEncoding
in interface DRIFont
String
object.@Deprecated public void setPdfEncoding(String pdfEncoding)
Setter for the field pdfEncoding
.
pdfEncoding
- a String
object.public Boolean getPdfEmbedded()
getPdfEmbedded.
getPdfEmbedded
in interface DRIFont
Boolean
object.@Deprecated public void setPdfEmbedded(Boolean pdfEmbedded)
Setter for the field pdfEmbedded
.
pdfEmbedded
- a Boolean
object.Copyright © 2010–2021. All rights reserved.