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=8.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 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)
Invokes the .NET member Collapse.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
void |
Draw(DrawingContext drawingContext,
Point origin,
InvertAxes inversion)
Invokes the .NET member Draw.
|
CharacterHit |
GetBackspaceCaretCharacterHit(CharacterHit characterHit)
Invokes the .NET member GetBackspaceCaretCharacterHit.
|
double |
getBaseline()
Gets the value of the .NET property Baseline.
|
CharacterHit |
GetCharacterHitFromDistance(double distance)
Invokes the .NET member GetCharacterHitFromDistance.
|
int |
getDependentLength()
Gets the value of the .NET property DependentLength.
|
double |
GetDistanceFromCharacterHit(CharacterHit characterHit)
Invokes the .NET member GetDistanceFromCharacterHit.
|
double |
getExtent()
Gets the value of the .NET property Extent.
|
boolean |
getHasCollapsed()
Gets the value of the .NET property HasCollapsed.
|
boolean |
getHasOverflowed()
Gets the value of the .NET property HasOverflowed.
|
double |
getHeight()
Gets the value of the .NET property Height.
|
IEnumerable_1 |
GetIndexedGlyphRuns()
Invokes the .NET member GetIndexedGlyphRuns.
|
boolean |
getIsTruncated()
Gets the value of the .NET property IsTruncated.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getLength()
Gets the value of the .NET property Length.
|
double |
getMarkerBaseline()
Gets the value of the .NET property MarkerBaseline.
|
double |
getMarkerHeight()
Gets the value of the .NET property MarkerHeight.
|
int |
getNewlineLength()
Gets the value of the .NET property NewlineLength.
|
CharacterHit |
GetNextCaretCharacterHit(CharacterHit characterHit)
Invokes the .NET member GetNextCaretCharacterHit.
|
double |
getOverhangAfter()
Gets the value of the .NET property OverhangAfter.
|
double |
getOverhangLeading()
Gets the value of the .NET property OverhangLeading.
|
double |
getOverhangTrailing()
Gets the value of the .NET property OverhangTrailing.
|
double |
getPixelsPerDip()
Gets the value of the .NET property PixelsPerDip.
|
CharacterHit |
GetPreviousCaretCharacterHit(CharacterHit characterHit)
Invokes the .NET member GetPreviousCaretCharacterHit.
|
double |
getStart()
Gets the value of the .NET property Start.
|
double |
getTextBaseline()
Gets the value of the .NET property TextBaseline.
|
IList_1 |
GetTextBounds(int firstTextSourceCharacterIndex,
int textLength)
Invokes the .NET member GetTextBounds.
|
IList_1 |
GetTextCollapsedRanges()
Invokes the .NET member GetTextCollapsedRanges.
|
double |
getTextHeight()
Gets the value of the .NET property TextHeight.
|
TextLineBreak |
GetTextLineBreak()
Invokes the .NET member GetTextLineBreak.
|
IList_1 |
GetTextRunSpans()
Invokes the .NET member GetTextRunSpans.
|
int |
getTrailingWhitespaceLength()
Gets the value of the .NET property TrailingWhitespaceLength.
|
double |
getWidth()
Gets the value of the .NET property Width.
|
double |
getWidthIncludingTrailingWhitespace()
Gets the value of the .NET property WidthIncludingTrailingWhitespace.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPixelsPerDip(double PixelsPerDip)
Sets the value of the .NET property PixelsPerDip.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TextLine()
throws java.lang.Throwable
java.lang.Throwablepublic TextLine(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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
collapsingPropertiesList - the argument of type TextCollapsingProperties...java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Dispose()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Draw(DrawingContext drawingContext, Point origin, InvertAxes inversion) throws java.lang.Throwable
drawingContext - the argument of type DrawingContextorigin - the argument of type Pointinversion - the argument of type InvertAxesjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic CharacterHit GetBackspaceCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
characterHit - the argument of type CharacterHitjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getBaseline()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CharacterHit GetCharacterHitFromDistance(double distance) throws java.lang.Throwable
distance - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getDependentLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double GetDistanceFromCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
characterHit - the argument of type CharacterHitjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getExtent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasCollapsed()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasOverflowed()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 GetIndexedGlyphRuns() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsTruncated()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int getLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getMarkerBaseline()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getMarkerHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getNewlineLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CharacterHit GetNextCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
characterHit - the argument of type CharacterHitjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getOverhangAfter()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getOverhangLeading()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getOverhangTrailing()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getPixelsPerDip()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CharacterHit GetPreviousCaretCharacterHit(CharacterHit characterHit) throws java.lang.Throwable
characterHit - the argument of type CharacterHitjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getStart()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getTextBaseline()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 GetTextBounds(int firstTextSourceCharacterIndex, int textLength) throws java.lang.Throwable
firstTextSourceCharacterIndex - the argument of type inttextLength - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 GetTextCollapsedRanges() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getTextHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TextLineBreak GetTextLineBreak() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 GetTextRunSpans() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getTrailingWhitespaceLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getWidthIncludingTrailingWhitespace()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setPixelsPerDip(double PixelsPerDip)
throws java.lang.Throwable
PixelsPerDip - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR