TtfEncodingParameters
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.IEncodingParameters
public class TtfEncodingParameters implements IEncodingParameters
Represents TTF encoding parameters. Should be used to request specific encoding from TTF Font.
Constructors
| Constructor | Description |
|---|---|
| TtfEncodingParameters(int platformId, int platformSpecificId) | Initializes new instance of TtfEncodingParameters class. |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getPlatformId() | Get PlatformId value. |
| getPlatformSpecificId() | Gets PlatformSpecificId value. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setPlatformId(int value) | Sets PlatformId value. |
| setPlatformSpecificId(int value) | Sets PlatformSpecificId value. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
TtfEncodingParameters(int platformId, int platformSpecificId)
public TtfEncodingParameters(int platformId, int platformSpecificId)
Initializes new instance of TtfEncodingParameters class. Takes Platform Id, Platform-specific encoding id as parameters. These parameters used to request special CMap subtable from main font CMap table, see table ‘CMap’, ’name’ in OpenType Font File specification.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| platformId | int | Platform id. |
| platformSpecificId | int | Platform-specific encoding id. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getPlatformId()
public int getPlatformId()
Get PlatformId value.
Returns: int - PlatformId value.
getPlatformSpecificId()
public int getPlatformSpecificId()
Gets PlatformSpecificId value.
Returns: int - PlatformSpecificId value.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setPlatformId(int value)
public void setPlatformId(int value)
Sets PlatformId value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | PlatformId value. |
setPlatformSpecificId(int value)
public void setPlatformSpecificId(int value)
Sets PlatformSpecificId value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | PlatformSpecificId value. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |