Search Results for

    Show / Hide Table of Contents

    Class ImageExtensions

    Inheritance
    object
    ImageExtensions
    Namespace: TetraCreations.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public static class ImageExtensions

    Methods

    SetColor(Image, float?, float?, float?, float?)

    Changes the RGBA elements of the image color

    Declaration
    public static void SetColor(this Image image, float? r = null, float? g = null, float? b = null, float? a = null)
    Parameters
    Type Name Description
    Image image
    float? r
    float? g
    float? b
    float? a

    SetColorAlpha(Image, float)

    Changes the transparency of the image color
    0f is transparent, 1f is opaque

    Declaration
    public static void SetColorAlpha(this Image image, float transparency)
    Parameters
    Type Name Description
    Image image
    float transparency
    In This Article
    Back to top Tetra Creations documentation