FontStoringArgs
Parameters for font storage in SVG
Constructors
| Constructor | Description |
|---|---|
| FontStoringArgs() |
Methods
| Method | Description |
|---|---|
| getSourceFontFileName() | Gets the source font file name. |
| getSourceFontStream() | Gets the source font stream, where font data will be read from. |
| getDestFontStream() | Gets or sets the destination stream where font data will be written to if FontStoreType is set to Stream. |
| setDestFontStream(InputStream value) | Gets or sets the destination stream where font data will be written to if FontStoreType is set to Stream. |
| getFontFileUri() | Gets or sets the font file URI. |
| setFontFileUri(String value) | Gets or sets the font file URI. |
| getDisposeStream() | Gets or sets a value indicating whether destionation stream should be disposed. |
| setDisposeStream(boolean value) | Gets or sets a value indicating whether destionation stream should be disposed. |
| getFontStoreType() | Gets or sets a value indicating how to store font. |
| setFontStoreType(int value) | Gets or sets a value indicating how to store font. |
FontStoringArgs()
public FontStoringArgs()
getSourceFontFileName()
public final String getSourceFontFileName()
Gets the source font file name.
Returns: String - The source font file.
getSourceFontStream()
public final InputStream getSourceFontStream()
Gets the source font stream, where font data will be read from.
Returns: InputStream - The source font stream.
getDestFontStream()
public final InputStream getDestFontStream()
Gets or sets the destination stream where font data will be written to if FontStoreType is set to Stream.
Returns: InputStream - The destination font stream.
setDestFontStream(InputStream value)
public final void setDestFontStream(InputStream value)
Gets or sets the destination stream where font data will be written to if FontStoreType is set to Stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | InputStream | The destination font stream. |
getFontFileUri()
public final String getFontFileUri()
Gets or sets the font file URI.
Returns: String - The font file URI.
setFontFileUri(String value)
public final void setFontFileUri(String value)
Gets or sets the font file URI.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | String | The font file URI. |
getDisposeStream()
public final boolean getDisposeStream()
Gets or sets a value indicating whether destionation stream should be disposed.
Returns: boolean - true if [dispose stream]; otherwise, false .
setDisposeStream(boolean value)
public final void setDisposeStream(boolean value)
Gets or sets a value indicating whether destionation stream should be disposed.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | true if [dispose stream]; otherwise, false . |
getFontStoreType()
public final int getFontStoreType()
Gets or sets a value indicating how to store font.
Returns: int - Do not store font, store embedded in SVG file, or store in provided destination stream.
setFontStoreType(int value)
public final void setFontStoreType(int value)
Gets or sets a value indicating how to store font.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | Do not store font, store embedded in SVG file, or store in provided destination stream. |