Package system.windows.media
Class GlyphTypeface
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.media.GlyphTypeface
-
- All Implemented Interfaces:
IJCOBridgeReflected,ISupportInitialize
public class GlyphTypeface extends NetObject implements ISupportInitialize
The base .NET class managing System.Windows.Media.GlyphTypeface, PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.GlyphTypeface
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Media.GlyphTypefacestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description GlyphTypeface()GlyphTypeface(java.lang.Object instance)Internal constructor.GlyphTypeface(Uri typefaceSource)GlyphTypeface(Uri typefaceSource, StyleSimulations styleSimulations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlyphTypefacecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoGlyphTypeface, a cast assert is made to check if types are compatible.doublegetBaseline()doublegetCapsHeight()FontEmbeddingRightgetEmbeddingRights()StreamGetFontStream()UrigetFontUri()intgetGlyphCount()GeometryGetGlyphOutline(UInt16 glyphIndex, double renderingEmSize, double hintingEmSize)doublegetHeight()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeFontStretchgetStretch()doublegetStrikethroughPosition()doublegetStrikethroughThickness()FontStylegetStyle()StyleSimulationsgetStyleSimulations()booleangetSymbol()doublegetUnderlinePosition()doublegetUnderlineThickness()doublegetVersion()FontWeightgetWeight()doublegetXHeight()voidsetFontUri(Uri FontUri)voidsetJCOInstance(JCObject instance)voidsetStyleSimulations(StyleSimulations StyleSimulations)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ISupportInitialize
BeginInit, EndInit
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Media.GlyphTypeface- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GlyphTypeface
public GlyphTypeface(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
GlyphTypeface
public GlyphTypeface() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GlyphTypeface
public GlyphTypeface(Uri typefaceSource, StyleSimulations styleSimulations) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, PlatformNotSupportedException, OutOfMemoryException, UriFormatException, NullReferenceException, FormatException, InvalidEnumArgumentException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, ObjectDisposedException, SecurityException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionUnreachableExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionUriFormatExceptionNullReferenceExceptionFormatExceptionInvalidEnumArgumentExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionObjectDisposedExceptionSecurityExceptionIOException
-
GlyphTypeface
public GlyphTypeface(Uri typefaceSource) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, PlatformNotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, SecurityException, IOException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUriFormatExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionInvalidEnumArgumentExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionSecurityExceptionIOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISupportInitialize- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceISupportInitialize- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceISupportInitialize- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceISupportInitialize- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISupportInitialize- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static GlyphTypeface cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoGlyphTypeface, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
GlyphTypefaceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetFontStream
public Stream GetFontStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, UriFormatException, ArrayTypeMismatchException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, IOException, FileFormatException, KeyNotFoundException, WebException, Win32Exception, CookieException, OverflowException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionUriFormatExceptionArrayTypeMismatchExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionIOExceptionFileFormatExceptionKeyNotFoundExceptionWebExceptionWin32ExceptionCookieExceptionOverflowExceptionFormatException
-
GetGlyphOutline
public Geometry GetGlyphOutline(UInt16 glyphIndex, double renderingEmSize, double hintingEmSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, OutOfMemoryException, ArrayTypeMismatchException, Win32Exception, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionWin32ExceptionIndexOutOfRangeException
-
getSymbol
public boolean getSymbol() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getBaseline
public double getBaseline() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getCapsHeight
public double getCapsHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getHeight
public double getHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getStrikethroughPosition
public double getStrikethroughPosition() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getStrikethroughThickness
public double getStrikethroughThickness() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getUnderlinePosition
public double getUnderlinePosition() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getUnderlineThickness
public double getUnderlineThickness() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getVersion
public double getVersion() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, SecurityException, IOException, IndexOutOfRangeException, OverflowException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionSecurityExceptionIOExceptionIndexOutOfRangeExceptionOverflowException
-
getXHeight
public double getXHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getGlyphCount
public int getGlyphCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FileNotFoundException, UnauthorizedAccessException, FileFormatException
-
getFontUri
public Uri getFontUri() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
setFontUri
public void setFontUri(Uri FontUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getStretch
public FontStretch getStretch() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getStyle
public FontStyle getStyle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getWeight
public FontWeight getWeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getEmbeddingRights
public FontEmbeddingRight getEmbeddingRights() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, FileNotFoundException, UnauthorizedAccessException, FileFormatException
-
getStyleSimulations
public StyleSimulations getStyleSimulations() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
setStyleSimulations
public void setStyleSimulations(StyleSimulations StyleSimulations) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
-