Search Results for

    Show / Hide Table of Contents

    Class StaticChromaLinkEffect

    Static color effect.

    Inheritance
    Object
    StaticChromaLinkEffect
    Implements
    IEquatable<StaticChromaLinkEffect>
    Namespace: Colore.Effects.ChromaLink
    Assembly: Colore.dll
    Syntax
    public sealed class StaticChromaLinkEffect : ValueType

    Constructors

    StaticChromaLinkEffect(Color)

    Initializes a new instance of the StaticChromaLinkEffect struct.

    Declaration
    public StaticChromaLinkEffect(Color color)
    Parameters
    Type Name Description
    Color color

    Color to set.

    Fields

    Color

    Color to use.

    Declaration
    public readonly Color Color
    Field Value
    Type Description
    Color

    Methods

    Equals(StaticChromaLinkEffect)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(StaticChromaLinkEffect other)
    Parameters
    Type Name Description
    StaticChromaLinkEffect other

    An object to compare with this object.

    Returns
    Type Description
    Boolean

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(Object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current instance.

    Returns
    Type Description
    Boolean

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A 32-bit signed integer that is the hash code for this instance.

    Operators

    Equality(StaticChromaLinkEffect, StaticChromaLinkEffect)

    Checks an instance of StaticChromaLinkEffect for equality with another StaticChromaLinkEffect instance.

    Declaration
    public static bool operator ==(StaticChromaLinkEffect left, StaticChromaLinkEffect right)
    Parameters
    Type Name Description
    StaticChromaLinkEffect left

    Left operand.

    StaticChromaLinkEffect right

    Right operand.

    Returns
    Type Description
    Boolean

    true if the two instances are equal, otherwise false.

    Inequality(StaticChromaLinkEffect, StaticChromaLinkEffect)

    Checks an instance of StaticChromaLinkEffect for inequality with another StaticChromaLinkEffect instance.

    Declaration
    public static bool operator !=(StaticChromaLinkEffect left, StaticChromaLinkEffect right)
    Parameters
    Type Name Description
    StaticChromaLinkEffect left

    Left operand.

    StaticChromaLinkEffect right

    Right operand.

    Returns
    Type Description
    Boolean

    true if the two instances are not equal, otherwise false.

    Implements

    System.IEquatable<T>
    In This Article
    Back to top Copyright © 2015-2022 by Adam Hellberg and Brandon Scott
    Generated by DocFX