Table of Contents

Struct RichTextImageCrop

Namespace
RichEdit.Maui
Assembly
RichEdit.Maui.dll

Defines cropping amounts in points for an inline image.

public readonly struct RichTextImageCrop : IEquatable<RichTextImageCrop>
Implements
Inherited Members

Constructors

RichTextImageCrop(double, double, double, double)

Defines cropping amounts in points for an inline image.

public RichTextImageCrop(double Left, double Top, double Right, double Bottom)

Parameters

Left double

The amount cropped from the left edge, in points.

Top double

The amount cropped from the top edge, in points.

Right double

The amount cropped from the right edge, in points.

Bottom double

The amount cropped from the bottom edge, in points.

Properties

Bottom

The amount cropped from the bottom edge, in points.

public double Bottom { get; init; }

Property Value

double

Left

The amount cropped from the left edge, in points.

public double Left { get; init; }

Property Value

double

Right

The amount cropped from the right edge, in points.

public double Right { get; init; }

Property Value

double

Top

The amount cropped from the top edge, in points.

public double Top { get; init; }

Property Value

double

Methods

Deconstruct(out double, out double, out double, out double)

public void Deconstruct(out double Left, out double Top, out double Right, out double Bottom)

Parameters

Left double
Top double
Right double
Bottom double

Equals(RichTextImageCrop)

public bool Equals(RichTextImageCrop other)

Parameters

other RichTextImageCrop

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RichTextImageCrop, RichTextImageCrop)

public static bool operator ==(RichTextImageCrop left, RichTextImageCrop right)

Parameters

left RichTextImageCrop
right RichTextImageCrop

Returns

bool

operator !=(RichTextImageCrop, RichTextImageCrop)

public static bool operator !=(RichTextImageCrop left, RichTextImageCrop right)

Parameters

left RichTextImageCrop
right RichTextImageCrop

Returns

bool