WmfPitchAndFamily
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct
public class WmfPitchAndFamily extends Struct<WmfPitchAndFamily>
L’objet PitchAndFamily spécifie les propriétés de pas et de famille d’un objet Font (section 2.2.1.2). Le pas fait référence à la largeur des caractères, et la famille fait référence à l’apparence générale d’une police.
Constructeurs
| Constructeur | Description |
|---|---|
| WmfPitchAndFamily() | |
| WmfPitchAndFamily(byte byteData) | Initialise une nouvelle instance de la structure WmfPitchAndFamily. |
| WmfPitchAndFamily(byte pitch, byte family) | Initialise une nouvelle instance de la structure WmfPitchAndFamily. |
Méthodes
| Méthode | Description |
|---|---|
| getFamily() | Obtient une propriété d’une police qui décrit son apparence générale. |
| getPitch() | Obtient une propriété d’une police qui décrit le pas des caractères. |
| getByteData() | Définit les données ``. |
| setByteData(byte value) | Définit les données ``. |
| toByte() | Vers l’octet. |
| CloneTo(WmfPitchAndFamily that) | |
| Clone() | |
| hashCode() | |
| equals(Object obj) | |
| isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2) |
WmfPitchAndFamily()
public WmfPitchAndFamily()
WmfPitchAndFamily(byte byteData)
public WmfPitchAndFamily(byte byteData)
Initialise une nouvelle instance de la structure WmfPitchAndFamily.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| byteData | byte | Les données ``. |
WmfPitchAndFamily(byte pitch, byte family)
public WmfPitchAndFamily(byte pitch, byte family)
Initialise une nouvelle instance de la structure WmfPitchAndFamily.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| pitch | byte | Le pas. |
| famille | byte | La famille. |
getFamily()
public byte getFamily()
Obtient une propriété d’une police qui décrit son apparence générale. Ceci DOIT être une valeur dans l’énumération FamilyFont.
Valeur : la famille.
Returns: byte
getPitch()
public byte getPitch()
Obtient une propriété d’une police qui décrit le pas des caractères. Ceci DOIT être une valeur dans l’énumération PitchFont.
Valeur : le pas.
Returns: byte
getByteData()
public byte getByteData()
Définit les données ``.
Valeur : les `` data.
Returns: byte
setByteData(byte value)
public void setByteData(byte value)
Définit les données ``.
Valeur : les `` data.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | byte |
toByte()
public byte toByte()
Vers l’octet.
Returns: octet - La valeur d’octet.
CloneTo(WmfPitchAndFamily that)
public void CloneTo(WmfPitchAndFamily that)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| that | WmfPitchAndFamily |
Clone()
public WmfPitchAndFamily Clone()
Returns: WmfPitchAndFamily
hashCode()
public int hashCode()
Returns: int
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2)
public static boolean isEquals(WmfPitchAndFamily obj1, WmfPitchAndFamily obj2)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| obj1 | WmfPitchAndFamily | |
| obj2 | WmfPitchAndFamily |
Returns: boolean