Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Struct RectF

    Representation of a floating-point rectangle.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FellowOakDicom.Imaging.Mathematics
    Assembly: fo-dicom.core.dll
    Syntax
    public struct RectF

    Constructors

    RectF(Single, Single, Single, Single)

    Initializes an instance of RectF.

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

    The start x coordinate.

    System.Single y

    The start y coordinate.

    System.Single width

    The width.

    System.Single height

    The height.

    Properties

    Height

    Gets the rectangle height.

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

    Width

    Gets the rectangle width.

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

    X

    Gets the rectangle start coordinate in X direction.

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

    Y

    Gets the rectangle start coordinate in Y direction.

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

    Methods

    Inflate(Single, Single)

    Enlarges this RectF structure by the specified amount.

    Declaration
    public void Inflate(float x, float y)
    Parameters
    Type Name Description
    System.Single x

    The amount to inflate this RectF structure horizontally.

    System.Single y

    The amount to inflate this RectF structure vertically.

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors