logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PreviewOverlayGuiTests

    EditMode tests for CursorForHandle(PreviewQuad, PreviewHandle): proves the cursor now derives from the element's own normalized local axes rather than the direction from the quad's centre to the handle point, which used to make a wide element's corner cursors depend on its aspect ratio.

    Inheritance
    object
    PreviewOverlayGuiTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Editor.Preview
    Assembly: Tests.Editor.dll
    Syntax
    public class PreviewOverlayGuiTests

    Constructors

    PreviewOverlayGuiTests()

    Declaration
    public PreviewOverlayGuiTests()

    Methods

    CursorForHandle_FortyFiveDegreeRotatedSquare_CornersAreAxisAligned(int, MouseCursor)

    Declaration
    public void CursorForHandle_FortyFiveDegreeRotatedSquare_CornersAreAxisAligned(int handleValue, MouseCursor expected)
    Parameters
    Type Name Description
    int handleValue
    MouseCursor expected

    CursorForHandle_FortyFiveDegreeRotatedSquare_EdgesAreDiagonal(int, MouseCursor)

    Declaration
    public void CursorForHandle_FortyFiveDegreeRotatedSquare_EdgesAreDiagonal(int handleValue, MouseCursor expected)
    Parameters
    Type Name Description
    int handleValue
    MouseCursor expected

    CursorForHandle_WideUnrotatedQuad_CornersAreDiagonal(int, MouseCursor)

    Declaration
    public void CursorForHandle_WideUnrotatedQuad_CornersAreDiagonal(int handleValue, MouseCursor expected)
    Parameters
    Type Name Description
    int handleValue
    MouseCursor expected

    CursorForHandle_WideUnrotatedQuad_EdgesAreAxisAligned(int, MouseCursor)

    Declaration
    public void CursorForHandle_WideUnrotatedQuad_EdgesAreAxisAligned(int handleValue, MouseCursor expected)
    Parameters
    Type Name Description
    int handleValue
    MouseCursor expected
    In this article
    © 2026 Serenity. All Rights Reserved