Table of Contents

Class LayoutLine

Namespace
Pango
Assembly
Pango-1.0.dll
public sealed class LayoutLine : BoxedRecord, IEquatable<LayoutLine>
Inheritance
LayoutLine
Implements
Inherited Members

Constructors

LayoutLine()

public LayoutLine()

LayoutLine(LayoutLineOwnedHandle)

public LayoutLine(LayoutLineOwnedHandle handle)

Parameters

handle LayoutLineOwnedHandle

Properties

Handle

public LayoutLineOwnedHandle Handle { get; }

Property Value

LayoutLineOwnedHandle

IsParagraphStart

public uint IsParagraphStart { get; set; }

Property Value

uint

Length

public int Length { get; set; }

Property Value

int

ResolvedDir

public uint ResolvedDir { get; set; }

Property Value

uint

StartIndex

public int StartIndex { get; set; }

Property Value

int

Methods

Equals(LayoutLine?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(LayoutLine? other)

Parameters

other LayoutLine

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetExtents(out Rectangle, out Rectangle)

public void GetExtents(out Rectangle inkRect, out Rectangle logicalRect)

Parameters

inkRect Rectangle
logicalRect Rectangle

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetHeight(out int)

[Version("1.44")]
public void GetHeight(out int height)

Parameters

height int

GetIsParagraphStart()

[Version("1.50")]
public bool GetIsParagraphStart()

Returns

bool

GetLength()

[Version("1.50")]
public int GetLength()

Returns

int

GetPixelExtents(out Rectangle, out Rectangle)

public void GetPixelExtents(out Rectangle inkRect, out Rectangle logicalRect)

Parameters

inkRect Rectangle
logicalRect Rectangle

GetResolvedDirection()

[Version("1.50")]
public Direction GetResolvedDirection()

Returns

Direction

GetStartIndex()

[Version("1.50")]
public int GetStartIndex()

Returns

int

IndexToX(int, bool, out int)

public void IndexToX(int index, bool trailing, out int xPos)

Parameters

index int
trailing bool
xPos int

Ref()

[Version("1.10")]
public LayoutLine? Ref()

Returns

LayoutLine

Unref()

public void Unref()

XToIndex(int, out int, out int)

public bool XToIndex(int xPos, out int index, out int trailing)

Parameters

xPos int
index int
trailing int

Returns

bool