public class Typeface extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Typeface
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.Typeface
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Typeface() |
Typeface(FontFamily fontFamily,
FontStyle style,
FontWeight weight,
FontStretch stretch) |
Typeface(FontFamily fontFamily,
FontStyle style,
FontWeight weight,
FontStretch stretch,
FontFamily fallbackFontFamily) |
Typeface(java.lang.Object instance)
Internal constructor.
|
Typeface(java.lang.String typefaceName) |
| Modifier and Type | Method and Description |
|---|---|
static Typeface |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Typeface, a cast assert is made to check if types are compatible. |
double |
getCapsHeight() |
LanguageSpecificStringDictionary |
getFaceNames() |
FontFamily |
getFontFamily() |
boolean |
getIsBoldSimulated() |
boolean |
getIsObliqueSimulated() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
FontStretch |
getStretch() |
double |
getStrikethroughPosition() |
double |
getStrikethroughThickness() |
FontStyle |
getStyle() |
double |
getUnderlinePosition() |
double |
getUnderlineThickness() |
FontWeight |
getWeight() |
double |
getXHeight() |
void |
setJCOInstance(JCObject instance) |
boolean |
TryGetGlyphTypeface(JCORefOut<GlyphTypeface> glyphTypeface) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Typeface()
throws java.lang.Throwable
java.lang.Throwablepublic Typeface(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic Typeface(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch, FontFamily fallbackFontFamily) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public Typeface(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Typeface(java.lang.String typefaceName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
UriFormatException
public static Typeface cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Typeface, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeface instancejava.lang.Throwable - in case of error during cast operationpublic double getCapsHeight()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic LanguageSpecificStringDictionary getFaceNames() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, InvalidOperationException, FileNotFoundException, FileFormatException, CultureNotFoundException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic FontFamily getFontFamily() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsBoldSimulated()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic boolean getIsObliqueSimulated()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic FontStretch getStretch() throws java.lang.Throwable
java.lang.Throwablepublic double getStrikethroughPosition()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic double getStrikethroughThickness()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic FontStyle getStyle() throws java.lang.Throwable
java.lang.Throwablepublic double getUnderlinePosition()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic double getUnderlineThickness()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic FontWeight getWeight() throws java.lang.Throwable
java.lang.Throwablepublic double getXHeight()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
FileNotFoundException,
FileFormatException,
CultureNotFoundException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic boolean TryGetGlyphTypeface(JCORefOut<GlyphTypeface> glyphTypeface) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, InvalidOperationException, FileNotFoundException, FileFormatException, CultureNotFoundException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionPlatformNotSupportedExceptionInvalidOperationExceptionFileNotFoundExceptionFileFormatExceptionCultureNotFoundExceptionNotSupportedException