Package system.windows.media
Class GlyphRun
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.media.GlyphRun
-
- All Implemented Interfaces:
IJCOBridgeReflected,ISupportInitialize
public class GlyphRun extends NetObject implements ISupportInitialize
The base .NET class managing System.Windows.Media.GlyphRun, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.GlyphRun
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.GlyphRunstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeometryBuildGeometry()static GlyphRuncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoGlyphRun, a cast assert is made to check if types are compatible.RectComputeAlignmentBox()RectComputeInkBoundingBox()PointgetBaselineOrigin()intgetBidiLevel()CharacterHitGetCaretCharacterHitFromDistance(double distance, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> isInside)java.lang.StringgetDeviceFontName()doubleGetDistanceFromCaretCharacterHit(CharacterHit characterHit)doublegetFontRenderingEmSize()GlyphTypefacegetGlyphTypeface()booleangetIsHitTestable()booleangetIsSideways()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 TypeXmlLanguagegetLanguage()CharacterHitGetNextCaretCharacterHit(CharacterHit characterHit)SinglegetPixelsPerDip()CharacterHitGetPreviousCaretCharacterHit(CharacterHit characterHit)voidsetBaselineOrigin(Point BaselineOrigin)voidsetBidiLevel(int BidiLevel)voidsetDeviceFontName(java.lang.String DeviceFontName)voidsetFontRenderingEmSize(double FontRenderingEmSize)voidsetGlyphTypeface(GlyphTypeface GlyphTypeface)voidsetIsSideways(boolean IsSideways)voidsetJCOInstance(JCObject instance)voidsetLanguage(XmlLanguage Language)voidsetPixelsPerDip(Single PixelsPerDip)-
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.GlyphRun- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GlyphRun
public GlyphRun(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
GlyphRun
public GlyphRun() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, Win32Exception, ObjectDisposedException, AbandonedMutexException
-
GlyphRun
public GlyphRun(Single pixelsPerDip) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, Win32Exception, ObjectDisposedException, AbandonedMutexException
-
-
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 GlyphRun cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoGlyphRun, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
GlyphRuninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetDistanceFromCaretCharacterHit
public double GetDistanceFromCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
BuildGeometry
public Geometry BuildGeometry() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FileNotFoundException, UnauthorizedAccessException, FileFormatException, WebException, ArithmeticException, Win32Exception
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFileNotFoundExceptionUnauthorizedAccessExceptionFileFormatExceptionWebExceptionArithmeticExceptionWin32Exception
-
GetCaretCharacterHitFromDistance
public CharacterHit GetCaretCharacterHitFromDistance(double distance, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> isInside) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
GetNextCaretCharacterHit
public CharacterHit GetNextCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
GetPreviousCaretCharacterHit
public CharacterHit GetPreviousCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
ComputeAlignmentBox
public Rect ComputeAlignmentBox() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
ComputeInkBoundingBox
public Rect ComputeInkBoundingBox() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, SecurityException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, FileNotFoundException, FileFormatException, WebException, ArithmeticException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionMissingMethodExceptionSecurityExceptionIndexOutOfRangeExceptionUnauthorizedAccessExceptionIOExceptionFileNotFoundExceptionFileFormatExceptionWebExceptionArithmeticException
-
getIsHitTestable
public boolean getIsHitTestable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getIsSideways
public boolean getIsSideways() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setIsSideways
public void setIsSideways(boolean IsSideways) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getFontRenderingEmSize
public double getFontRenderingEmSize() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setFontRenderingEmSize
public void setFontRenderingEmSize(double FontRenderingEmSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getBidiLevel
public int getBidiLevel() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setBidiLevel
public void setBidiLevel(int BidiLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getPixelsPerDip
public Single getPixelsPerDip() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setPixelsPerDip
public void setPixelsPerDip(Single PixelsPerDip) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getDeviceFontName
public java.lang.String getDeviceFontName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setDeviceFontName
public void setDeviceFontName(java.lang.String DeviceFontName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getLanguage
public XmlLanguage getLanguage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setLanguage
public void setLanguage(XmlLanguage Language) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getGlyphTypeface
public GlyphTypeface getGlyphTypeface() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setGlyphTypeface
public void setGlyphTypeface(GlyphTypeface GlyphTypeface) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getBaselineOrigin
public Point getBaselineOrigin() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
setBaselineOrigin
public void setBaselineOrigin(Point BaselineOrigin) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
-