Search Results for

    Show / Hide Table of Contents

    Interface IBrush

    Interface that unifies input source textures, sprites, render targets, and any other brushes to be used in a more generic way.

    Namespace: FlaxEngine.GUI
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public interface IBrush

    Properties

    Size

    Gets the size of the image brush in pixels (if relevant).

    Declaration
    Float2 Size { get; }
    Property Value
    Float2

    Methods

    Draw(Rectangle, Color)

    Draws the specified image using Render2D graphics backend.

    Declaration
    void Draw(Rectangle rect, Color color)
    Parameters
    Rectangle rect

    The draw area rectangle.

    Color color

    The color.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat