Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Class SizeExtensions

    Namespace
    AetherUtils.Core.Extensions
    Assembly
    AetherUtils.Core.dll
    Provides extension methods for manipulating Size objects.
    [UsedImplicitly]
    public static class SizeExtensions
    Inheritance
    object
    SizeExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()

    Methods

    GetCenterPoint(Size)

    Get the center Point for the specified Size.
    [UsedImplicitly]
    public static Point GetCenterPoint(this Size size)

    Parameters

    size Size
    The Size to get the center of.

    Returns

    Point
    A Point representing the center point of the Size.

    GetCenterPointF(SizeF)

    Get the center PointF for the specified SizeF.
    [UsedImplicitly]
    public static PointF GetCenterPointF(this SizeF size)

    Parameters

    size SizeF
    The SizeF to get the center of.

    Returns

    PointF
    A PointF representing the center point of the SizeF.
    (c) 2024 Ethan Hann. All rights reserved.