Search Results for

    Show / Hide Table of Contents

    Struct RgbaColour

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Xbim.Ifc4
    Assembly: Xbim.Ifc4.dll
    Syntax
    public struct RgbaColour

    Constructors

    | Improve this Doc View Source

    RgbaColour(Double, Double, Double, Double)

    Declaration
    public RgbaColour(double r, double g, double b, double a)
    Parameters
    Type Name Description
    System.Double r
    System.Double g
    System.Double b
    System.Double a
    | Improve this Doc View Source

    RgbaColour(IIfcColourRgb, Nullable<IfcNormalisedRatioMeasure>)

    Declaration
    public RgbaColour(IIfcColourRgb colour, IfcNormalisedRatioMeasure? transparency = null)
    Parameters
    Type Name Description
    IIfcColourRgb colour
    System.Nullable<IfcNormalisedRatioMeasure> transparency

    Properties

    | Improve this Doc View Source

    Alpha

    Declaration
    public double Alpha { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Blue

    Declaration
    public double Blue { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Empty

    Declaration
    public static RgbaColour Empty { get; }
    Property Value
    Type Description
    RgbaColour
    | Improve this Doc View Source

    Green

    Declaration
    public double Green { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Red

    Declaration
    public double Red { get; set; }
    Property Value
    Type Description
    System.Double

    Operators

    | Improve this Doc View Source

    Multiply(RgbaColour, Double)

    Declaration
    public static RgbaColour operator *(RgbaColour rgba, double ratio)
    Parameters
    Type Name Description
    RgbaColour rgba
    System.Double ratio
    Returns
    Type Description
    RgbaColour
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim