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.String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationCorestatic java.lang.String
className
Qualified class name: System.Windows.Media.GlyphTypefacestatic JCType
classType
The 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 GlyphTypeface
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoGlyphTypeface
, a cast assert is made to check if types are compatible.double
getBaseline()
double
getCapsHeight()
FontEmbeddingRight
getEmbeddingRights()
Stream
GetFontStream()
Uri
getFontUri()
int
getGlyphCount()
Geometry
GetGlyphOutline(UInt16 glyphIndex, double renderingEmSize, double hintingEmSize)
double
getHeight()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeFontStretch
getStretch()
double
getStrikethroughPosition()
double
getStrikethroughThickness()
FontStyle
getStyle()
StyleSimulations
getStyleSimulations()
boolean
getSymbol()
double
getUnderlinePosition()
double
getUnderlineThickness()
double
getVersion()
FontWeight
getWeight()
double
getXHeight()
void
setFontUri(Uri FontUri)
void
setJCOInstance(JCObject instance)
void
setStyleSimulations(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.Throwable
Internal 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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
UnreachableException
PlatformNotSupportedException
OutOfMemoryException
UriFormatException
NullReferenceException
FormatException
InvalidEnumArgumentException
FileNotFoundException
UnauthorizedAccessException
FileFormatException
ObjectDisposedException
SecurityException
IOException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
UriFormatException
PlatformNotSupportedException
CultureNotFoundException
InvalidEnumArgumentException
FileNotFoundException
UnauthorizedAccessException
FileFormatException
SecurityException
IOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISupportInitialize
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISupportInitialize
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISupportInitialize
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISupportInitialize
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISupportInitialize
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static GlyphTypeface cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoGlyphTypeface
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
GlyphTypeface
instance- 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.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
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
FileNotFoundException
UnauthorizedAccessException
FileFormatException
OutOfMemoryException
ArrayTypeMismatchException
Win32Exception
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
FileNotFoundException
UnauthorizedAccessException
FileFormatException
SecurityException
IOException
IndexOutOfRangeException
OverflowException
-
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
-
-