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
LeftdoubleThe amount cropped from the left edge, in points.
TopdoubleThe amount cropped from the top edge, in points.
RightdoubleThe amount cropped from the right edge, in points.
BottomdoubleThe 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
Left
The amount cropped from the left edge, in points.
public double Left { get; init; }
Property Value
Right
The amount cropped from the right edge, in points.
public double Right { get; init; }
Property Value
Top
The amount cropped from the top edge, in points.
public double Top { get; init; }
Property Value
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
Equals(RichTextImageCrop)
public bool Equals(RichTextImageCrop other)
Parameters
otherRichTextImageCrop
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RichTextImageCrop, RichTextImageCrop)
public static bool operator ==(RichTextImageCrop left, RichTextImageCrop right)
Parameters
leftRichTextImageCroprightRichTextImageCrop
Returns
operator !=(RichTextImageCrop, RichTextImageCrop)
public static bool operator !=(RichTextImageCrop left, RichTextImageCrop right)
Parameters
leftRichTextImageCroprightRichTextImageCrop