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=4.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=4.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=4.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) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, InvalidEnumArgumentException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException, SecurityException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUriFormatExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidEnumArgumentExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebExceptionSecurityExceptionIOException
-
GlyphTypeface
public GlyphTypeface(Uri typefaceSource, StyleSimulations styleSimulations) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, OutOfMemoryException, NotSupportedException, InvalidEnumArgumentException, PathTooLongException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException, SecurityException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUriFormatExceptionOutOfMemoryExceptionNotSupportedExceptionInvalidEnumArgumentExceptionPathTooLongExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebExceptionSecurityExceptionIOException
-
-
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, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, UriFormatException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, PathTooLongException, IOException, SecurityException, FileFormatException, KeyNotFoundException, OutOfMemoryException, InvalidCastException, ConfigurationErrorsException, MissingMethodException, WebException, Win32Exception, CookieException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionUriFormatExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionPathTooLongExceptionIOExceptionSecurityExceptionFileFormatExceptionKeyNotFoundExceptionOutOfMemoryExceptionInvalidCastExceptionConfigurationErrorsExceptionMissingMethodExceptionWebExceptionWin32ExceptionCookieExceptionOverflowException
-
GetGlyphOutline
public Geometry GetGlyphOutline(UInt16 glyphIndex, double renderingEmSize, double hintingEmSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException, Win32Exception
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebExceptionWin32Exception
-
getSymbol
public boolean getSymbol() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getBaseline
public double getBaseline() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getCapsHeight
public double getCapsHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getHeight
public double getHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getStrikethroughPosition
public double getStrikethroughPosition() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getStrikethroughThickness
public double getStrikethroughThickness() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getUnderlinePosition
public double getUnderlinePosition() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getUnderlineThickness
public double getUnderlineThickness() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getVersion
public double getVersion() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException, SecurityException, IOException, NullReferenceException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebExceptionSecurityExceptionIOExceptionNullReferenceException
-
getXHeight
public double getXHeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getGlyphCount
public int getGlyphCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebException
-
getFontUri
public Uri getFontUri() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, UriFormatException, NotSupportedException
-
setFontUri
public void setFontUri(Uri FontUri) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getStretch
public FontStretch getStretch() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getStyle
public FontStyle getStyle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getWeight
public FontWeight getWeight() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getEmbeddingRights
public FontEmbeddingRight getEmbeddingRights() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebException
-
getStyleSimulations
public StyleSimulations getStyleSimulations() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setStyleSimulations
public void setStyleSimulations(StyleSimulations StyleSimulations) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
-