Class LayoutLine
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class LayoutLine : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<LayoutLine>, IDisposable
- 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
IsParagraphStart
public uint IsParagraphStart { get; set; }
Property Value
Length
public int Length { get; set; }
Property Value
ResolvedDir
public uint ResolvedDir { get; set; }
Property Value
StartIndex
public int StartIndex { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(LayoutLine?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(LayoutLine? other)
Parameters
other
LayoutLineAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetExtents(out Rectangle, out Rectangle)
public void GetExtents(out Rectangle inkRect, out Rectangle logicalRect)
Parameters
GetGType()
public static Type GetGType()
Returns
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
GetLength()
[Version("1.50")]
public int GetLength()
Returns
GetPixelExtents(out Rectangle, out Rectangle)
public void GetPixelExtents(out Rectangle inkRect, out Rectangle logicalRect)
Parameters
GetResolvedDirection()
[Version("1.50")]
public Direction GetResolvedDirection()
Returns
GetStartIndex()
[Version("1.50")]
public int GetStartIndex()
Returns
IndexToX(int, bool, out int)
public void IndexToX(int index, bool trailing, out int xPos)
Parameters
Ref()
[Version("1.10")]
public LayoutLine? Ref()
Returns
Unref()
public void Unref()
XToIndex(int, out int, out int)
public bool XToIndex(int xPos, out int index, out int trailing)