public class TextLine extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.TextFormatting.TextLine
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=4.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.TextFormatting.TextLine
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TextLine() |
TextLine(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TextLine |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TextLine, a cast assert is made to check if types are compatible. |
void |
close() |
TextLine |
Collapse(TextCollapsingProperties... collapsingPropertiesList) |
void |
Dispose() |
void |
Draw(DrawingContext drawingContext,
Point origin,
InvertAxes inversion) |
CharacterHit |
GetBackspaceCaretCharacterHit(CharacterHit characterHit) |
double |
getBaseline() |
CharacterHit |
GetCharacterHitFromDistance(double distance) |
int |
getDependentLength() |
double |
GetDistanceFromCharacterHit(CharacterHit characterHit) |
double |
getExtent() |
boolean |
getHasCollapsed() |
boolean |
getHasOverflowed() |
double |
getHeight() |
IEnumerable_1 |
GetIndexedGlyphRuns() |
boolean |
getIsTruncated() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getLength() |
double |
getMarkerBaseline() |
double |
getMarkerHeight() |
int |
getNewlineLength() |
CharacterHit |
GetNextCaretCharacterHit(CharacterHit characterHit) |
double |
getOverhangAfter() |
double |
getOverhangLeading() |
double |
getOverhangTrailing() |
double |
getPixelsPerDip() |
CharacterHit |
GetPreviousCaretCharacterHit(CharacterHit characterHit) |
double |
getStart() |
double |
getTextBaseline() |
IList_1 |
GetTextBounds(int firstTextSourceCharacterIndex,
int textLength) |
IList_1 |
GetTextCollapsedRanges() |
double |
getTextHeight() |
TextLineBreak |
GetTextLineBreak() |
IList_1 |
GetTextRunSpans() |
int |
getTrailingWhitespaceLength() |
double |
getWidth() |
double |
getWidthIncludingTrailingWhitespace() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setPixelsPerDip(double PixelsPerDip) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic TextLine()
throws java.lang.Throwable
java.lang.Throwablepublic TextLine(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static TextLine cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TextLine, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTextLine instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic TextLine Collapse(TextCollapsingProperties... collapsingPropertiesList) throws java.lang.Throwable
java.lang.Throwablepublic void Dispose()
throws java.lang.Throwable
java.lang.Throwablepublic void Draw(DrawingContext drawingContext, Point origin, InvertAxes inversion) throws java.lang.Throwable
java.lang.Throwablepublic CharacterHit GetBackspaceCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
java.lang.Throwablepublic double getBaseline()
throws java.lang.Throwable
java.lang.Throwablepublic CharacterHit GetCharacterHitFromDistance(double distance) throws java.lang.Throwable
java.lang.Throwablepublic int getDependentLength()
throws java.lang.Throwable
java.lang.Throwablepublic double GetDistanceFromCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
java.lang.Throwablepublic double getExtent()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasCollapsed()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasOverflowed()
throws java.lang.Throwable
java.lang.Throwablepublic double getHeight()
throws java.lang.Throwable
java.lang.Throwablepublic IEnumerable_1 GetIndexedGlyphRuns() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsTruncated()
throws java.lang.Throwable
java.lang.Throwablepublic 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 org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic int getLength()
throws java.lang.Throwable
java.lang.Throwablepublic double getMarkerBaseline()
throws java.lang.Throwable
java.lang.Throwablepublic double getMarkerHeight()
throws java.lang.Throwable
java.lang.Throwablepublic int getNewlineLength()
throws java.lang.Throwable
java.lang.Throwablepublic CharacterHit GetNextCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
java.lang.Throwablepublic double getOverhangAfter()
throws java.lang.Throwable
java.lang.Throwablepublic double getOverhangLeading()
throws java.lang.Throwable
java.lang.Throwablepublic double getOverhangTrailing()
throws java.lang.Throwable
java.lang.Throwablepublic double getPixelsPerDip()
throws java.lang.Throwable
java.lang.Throwablepublic CharacterHit GetPreviousCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
java.lang.Throwablepublic double getStart()
throws java.lang.Throwable
java.lang.Throwablepublic double getTextBaseline()
throws java.lang.Throwable
java.lang.Throwablepublic IList_1 GetTextBounds(int firstTextSourceCharacterIndex, int textLength) throws java.lang.Throwable
java.lang.Throwablepublic IList_1 GetTextCollapsedRanges() throws java.lang.Throwable
java.lang.Throwablepublic double getTextHeight()
throws java.lang.Throwable
java.lang.Throwablepublic TextLineBreak GetTextLineBreak() throws java.lang.Throwable
java.lang.Throwablepublic IList_1 GetTextRunSpans() throws java.lang.Throwable
java.lang.Throwablepublic int getTrailingWhitespaceLength()
throws java.lang.Throwable
java.lang.Throwablepublic double getWidth()
throws java.lang.Throwable
java.lang.Throwablepublic double getWidthIncludingTrailingWhitespace()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setPixelsPerDip(double PixelsPerDip)
throws java.lang.Throwable
java.lang.Throwable