Search Results for

    Show / Hide Table of Contents

    Class FontRectangle

    Inheritance
    System.Object
    FontRectangle
    Implements
    System.IEquatable<FontRectangle>
    Namespace: SixLabors.Fonts
    Assembly: IronWebScraper.dll
    Syntax
    public sealed class FontRectangle : ValueType, IEquatable<FontRectangle>

    Constructors

    FontRectangle(howlws, howlws)

    Declaration
    public FontRectangle(howlws point, howlws size)
    Parameters
    Type Name Description
    IronWebScraper.Extensions.howlws point
    IronWebScraper.Extensions.howlws size

    FontRectangle(Single, Single, Single, Single)

    Declaration
    public FontRectangle(float x, float y, float width, float height)
    Parameters
    Type Name Description
    System.Single x
    System.Single y
    System.Single width
    System.Single height

    Fields

    Empty

    Declaration
    public static readonly FontRectangle Empty
    Field Value
    Type Description
    FontRectangle

    Properties

    Bottom

    Declaration
    public float Bottom { get; }
    Property Value
    Type Description
    System.Single

    Height

    Declaration
    public float Height { get; }
    Property Value
    Type Description
    System.Single

    Left

    Declaration
    public float Left { get; }
    Property Value
    Type Description
    System.Single

    Right

    Declaration
    public float Right { get; }
    Property Value
    Type Description
    System.Single

    Top

    Declaration
    public float Top { get; }
    Property Value
    Type Description
    System.Single

    Width

    Declaration
    public float Width { get; }
    Property Value
    Type Description
    System.Single

    X

    Declaration
    public float X { get; }
    Property Value
    Type Description
    System.Single

    Y

    Declaration
    public float Y { get; }
    Property Value
    Type Description
    System.Single

    Methods

    Center(FontRectangle)

    Declaration
    public static howlws Center(FontRectangle rectangle)
    Parameters
    Type Name Description
    FontRectangle rectangle
    Returns
    Type Description
    IronWebScraper.Extensions.howlws

    Contains(howlws)

    Declaration
    public bool Contains(howlws point)
    Parameters
    Type Name Description
    IronWebScraper.Extensions.howlws point
    Returns
    Type Description
    System.Boolean

    Contains(FontRectangle)

    Declaration
    public bool Contains(FontRectangle rectangle)
    Parameters
    Type Name Description
    FontRectangle rectangle
    Returns
    Type Description
    System.Boolean

    Contains(Single, Single)

    Declaration
    public bool Contains(float x, float y)
    Parameters
    Type Name Description
    System.Single x
    System.Single y
    Returns
    Type Description
    System.Boolean

    Deconstruct(out Single, out Single, out Single, out Single)

    Declaration
    public void Deconstruct(out float x, out float y, out float width, out float height)
    Parameters
    Type Name Description
    System.Single x
    System.Single y
    System.Single width
    System.Single height

    Equals(FontRectangle)

    Declaration
    public bool Equals(FontRectangle other)
    Parameters
    Type Name Description
    FontRectangle other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    FromLTRB(Single, Single, Single, Single)

    Declaration
    public static FontRectangle FromLTRB(float left, float top, float right, float bottom)
    Parameters
    Type Name Description
    System.Single left
    System.Single top
    System.Single right
    System.Single bottom
    Returns
    Type Description
    FontRectangle

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Inflate(howlws)

    Declaration
    public FontRectangle Inflate(howlws size)
    Parameters
    Type Name Description
    IronWebScraper.Extensions.howlws size
    Returns
    Type Description
    FontRectangle

    Inflate(FontRectangle, Single, Single)

    Declaration
    public static FontRectangle Inflate(FontRectangle rectangle, float x, float y)
    Parameters
    Type Name Description
    FontRectangle rectangle
    System.Single x
    System.Single y
    Returns
    Type Description
    FontRectangle

    Inflate(Single, Single)

    Declaration
    public FontRectangle Inflate(float width, float height)
    Parameters
    Type Name Description
    System.Single width
    System.Single height
    Returns
    Type Description
    FontRectangle

    Intersect(FontRectangle)

    Declaration
    public FontRectangle Intersect(FontRectangle rectangle)
    Parameters
    Type Name Description
    FontRectangle rectangle
    Returns
    Type Description
    FontRectangle

    Intersect(FontRectangle, FontRectangle)

    Declaration
    public static FontRectangle Intersect(FontRectangle a, FontRectangle b)
    Parameters
    Type Name Description
    FontRectangle a
    FontRectangle b
    Returns
    Type Description
    FontRectangle

    IntersectsWith(FontRectangle)

    Declaration
    public bool IntersectsWith(FontRectangle rectangle)
    Parameters
    Type Name Description
    FontRectangle rectangle
    Returns
    Type Description
    System.Boolean

    Offset(howlws)

    Declaration
    public FontRectangle Offset(howlws point)
    Parameters
    Type Name Description
    IronWebScraper.Extensions.howlws point
    Returns
    Type Description
    FontRectangle

    Offset(Single, Single)

    Declaration
    public FontRectangle Offset(float dx, float dy)
    Parameters
    Type Name Description
    System.Single dx
    System.Single dy
    Returns
    Type Description
    FontRectangle

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Transform(FontRectangle, howlwo)

    Declaration
    public static FontRectangle Transform(FontRectangle rectangle, howlwo matrix)
    Parameters
    Type Name Description
    FontRectangle rectangle
    IronWebScraper.Extensions.howlwo matrix
    Returns
    Type Description
    FontRectangle

    Union(FontRectangle, FontRectangle)

    Declaration
    public static FontRectangle Union(FontRectangle a, FontRectangle b)
    Parameters
    Type Name Description
    FontRectangle a
    FontRectangle b
    Returns
    Type Description
    FontRectangle

    Operators

    Equality(FontRectangle, FontRectangle)

    Declaration
    public static bool operator ==(FontRectangle left, FontRectangle right)
    Parameters
    Type Name Description
    FontRectangle left
    FontRectangle right
    Returns
    Type Description
    System.Boolean

    Inequality(FontRectangle, FontRectangle)

    Declaration
    public static bool operator !=(FontRectangle left, FontRectangle right)
    Parameters
    Type Name Description
    FontRectangle left
    FontRectangle right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Free 30-Day Trial Key
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronWebscraper to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWebscraper free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.