Search Results for

    Show / Hide Table of Contents

    Struct RectF

    Representation of a floating-point rectangle.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Dicom.Imaging.Mathematics
    Assembly: cs.temp.dll.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
    Single x

    The start x coordinate.

    Single y

    The start y coordinate.

    Single width

    The width.

    Single height

    The height.

    Properties

    Height

    Gets the rectangle height.

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

    Width

    Gets the rectangle width.

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

    X

    Gets the rectangle start coordinate in X direction.

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

    Y

    Gets the rectangle start coordinate in Y direction.

    Declaration
    public float Y { get; set; }
    Property Value
    Type Description
    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
    Single x

    The amount to inflate this RectF structure horizontally.

    Single y

    The amount to inflate this RectF structure vertically.

    In This Article
    Back to top Copyright (c) 2012-2021 fo-dicom contributors