Table of Contents

Class TextLayout

Namespace
Java.Awt.FontNs
Assembly
MASES.JNet.dll
public class TextLayout : Cloneable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloneable
Inheritance
JVMBridgeBase
JVMBridgeBase<Cloneable>
TextLayout
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Cloneable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Cloneable>.IsAssignableFrom<T>()
JVMBridgeBase<Cloneable>.Execute<T>(params T[])
JVMBridgeBase<Cloneable>.DynBridgeClazz
JVMBridgeBase<Cloneable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

TextLayout()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public TextLayout()

TextLayout(String, Font, FontRenderContext)

public TextLayout(String arg0, Font arg1, FontRenderContext arg2)

Parameters

arg0 String

String

arg1 Font

Font

arg2 FontRenderContext

FontRenderContext

TextLayout(String, Map, FontRenderContext)

public TextLayout(String arg0, Map arg1, FontRenderContext arg2)

Parameters

arg0 String

String

arg1 Map

Map

arg2 FontRenderContext

FontRenderContext

TextLayout(AttributedCharacterIterator, FontRenderContext)

public TextLayout(AttributedCharacterIterator arg0, FontRenderContext arg1)

Parameters

arg0 AttributedCharacterIterator

AttributedCharacterIterator

arg1 FontRenderContext

FontRenderContext

TextLayout(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public TextLayout(params object[] args)

Parameters

args object[]

Properties

Advance

public float Advance { get; }

Property Value

float

Ascent

public float Ascent { get; }

Property Value

float

Baseline

public byte Baseline { get; }

Property Value

byte

BaselineOffsets

public float[] BaselineOffsets { get; }

Property Value

float[]

Bounds

public Rectangle2D Bounds { get; }

Property Value

Rectangle2D

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CharacterCount

public int CharacterCount { get; }

Property Value

int

DEFAULT_CARET_POLICY

public static TextLayout.CaretPolicy DEFAULT_CARET_POLICY { get; }

Property Value

TextLayout.CaretPolicy

Descent

public float Descent { get; }

Property Value

float

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LayoutPath

public LayoutPath LayoutPath { get; }

Property Value

LayoutPath

Leading

public float Leading { get; }

Property Value

float

VisibleAdvance

public float VisibleAdvance { get; }

Property Value

float

Methods

Draw(Graphics2D, float, float)

public void Draw(Graphics2D arg0, float arg1, float arg2)

Parameters

arg0 Graphics2D

Graphics2D

arg1 float

float

arg2 float

float

GetBlackBoxBounds(int, int)

public Shape GetBlackBoxBounds(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Shape

Shape

GetCaretInfo(TextHitInfo)

public float[] GetCaretInfo(TextHitInfo arg0)

Parameters

arg0 TextHitInfo

TextHitInfo

Returns

float[]

float

GetCaretInfo(TextHitInfo, Rectangle2D)

public float[] GetCaretInfo(TextHitInfo arg0, Rectangle2D arg1)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 Rectangle2D

Rectangle2D

Returns

float[]

float

GetCaretShape(TextHitInfo)

public Shape GetCaretShape(TextHitInfo arg0)

Parameters

arg0 TextHitInfo

TextHitInfo

Returns

Shape

Shape

GetCaretShape(TextHitInfo, Rectangle2D)

public Shape GetCaretShape(TextHitInfo arg0, Rectangle2D arg1)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 Rectangle2D

Rectangle2D

Returns

Shape

Shape

GetCaretShapes(int)

public Shape[] GetCaretShapes(int arg0)

Parameters

arg0 int

int

Returns

Shape[]

Shape

GetCaretShapes(int, Rectangle2D)

public Shape[] GetCaretShapes(int arg0, Rectangle2D arg1)

Parameters

arg0 int

int

arg1 Rectangle2D

Rectangle2D

Returns

Shape[]

Shape

GetCaretShapes(int, Rectangle2D, CaretPolicy)

public Shape[] GetCaretShapes(int arg0, Rectangle2D arg1, TextLayout.CaretPolicy arg2)

Parameters

arg0 int

int

arg1 Rectangle2D

Rectangle2D

arg2 TextLayout.CaretPolicy

TextLayout.CaretPolicy

Returns

Shape[]

Shape

GetCharacterLevel(int)

public byte GetCharacterLevel(int arg0)

Parameters

arg0 int

int

Returns

byte

byte

GetJustifiedLayout(float)

public TextLayout GetJustifiedLayout(float arg0)

Parameters

arg0 float

float

Returns

TextLayout

TextLayout

GetLogicalHighlightShape(int, int)

public Shape GetLogicalHighlightShape(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Shape

Shape

GetLogicalHighlightShape(int, int, Rectangle2D)

public Shape GetLogicalHighlightShape(int arg0, int arg1, Rectangle2D arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 Rectangle2D

Rectangle2D

Returns

Shape

Shape

GetLogicalRangesForVisualSelection(TextHitInfo, TextHitInfo)

public int[] GetLogicalRangesForVisualSelection(TextHitInfo arg0, TextHitInfo arg1)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 TextHitInfo

TextHitInfo

Returns

int[]

int

GetNextLeftHit(TextHitInfo)

public TextHitInfo GetNextLeftHit(TextHitInfo arg0)

Parameters

arg0 TextHitInfo

TextHitInfo

Returns

TextHitInfo

TextHitInfo

GetNextLeftHit(int)

public TextHitInfo GetNextLeftHit(int arg0)

Parameters

arg0 int

int

Returns

TextHitInfo

TextHitInfo

GetNextLeftHit(int, CaretPolicy)

public TextHitInfo GetNextLeftHit(int arg0, TextLayout.CaretPolicy arg1)

Parameters

arg0 int

int

arg1 TextLayout.CaretPolicy

TextLayout.CaretPolicy

Returns

TextHitInfo

TextHitInfo

GetNextRightHit(TextHitInfo)

public TextHitInfo GetNextRightHit(TextHitInfo arg0)

Parameters

arg0 TextHitInfo

TextHitInfo

Returns

TextHitInfo

TextHitInfo

GetNextRightHit(int)

public TextHitInfo GetNextRightHit(int arg0)

Parameters

arg0 int

int

Returns

TextHitInfo

TextHitInfo

GetNextRightHit(int, CaretPolicy)

public TextHitInfo GetNextRightHit(int arg0, TextLayout.CaretPolicy arg1)

Parameters

arg0 int

int

arg1 TextLayout.CaretPolicy

TextLayout.CaretPolicy

Returns

TextHitInfo

TextHitInfo

GetOutline(AffineTransform)

public Shape GetOutline(AffineTransform arg0)

Parameters

arg0 AffineTransform

AffineTransform

Returns

Shape

Shape

GetPixelBounds(FontRenderContext, float, float)

public Rectangle GetPixelBounds(FontRenderContext arg0, float arg1, float arg2)

Parameters

arg0 FontRenderContext

FontRenderContext

arg1 float

float

arg2 float

float

Returns

Rectangle

Rectangle

GetVisualHighlightShape(TextHitInfo, TextHitInfo)

public Shape GetVisualHighlightShape(TextHitInfo arg0, TextHitInfo arg1)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 TextHitInfo

TextHitInfo

Returns

Shape

Shape

GetVisualHighlightShape(TextHitInfo, TextHitInfo, Rectangle2D)

public Shape GetVisualHighlightShape(TextHitInfo arg0, TextHitInfo arg1, Rectangle2D arg2)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 TextHitInfo

TextHitInfo

arg2 Rectangle2D

Rectangle2D

Returns

Shape

Shape

GetVisualOtherHit(TextHitInfo)

public TextHitInfo GetVisualOtherHit(TextHitInfo arg0)

Parameters

arg0 TextHitInfo

TextHitInfo

Returns

TextHitInfo

TextHitInfo

HitTestChar(float, float)

public TextHitInfo HitTestChar(float arg0, float arg1)

Parameters

arg0 float

float

arg1 float

float

Returns

TextHitInfo

TextHitInfo

HitTestChar(float, float, Rectangle2D)

public TextHitInfo HitTestChar(float arg0, float arg1, Rectangle2D arg2)

Parameters

arg0 float

float

arg1 float

float

arg2 Rectangle2D

Rectangle2D

Returns

TextHitInfo

TextHitInfo

HitToPoint(TextHitInfo, Point2D)

public void HitToPoint(TextHitInfo arg0, Point2D arg1)

Parameters

arg0 TextHitInfo

TextHitInfo

arg1 Point2D

Point2D

IsLeftToRight()

public bool IsLeftToRight()

Returns

bool

bool

IsVertical()

public bool IsVertical()

Returns

bool

bool