Skip to content

ColorWithTransparency

Public Class

Color with transparency

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ColorWithTransparency

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ColorWithTransparency : IDisposable

The ColorWithTransparency type exposes the following members.

Constructors

Name

Description


Public Method
ColorWithTransparency.

color


Public Method
ColorWithTransparency(UInt32, UInt32, UInt32, UInt32)

color


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method

Releases all resources used by the ColorWithTransparency


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

get blue


Public Method

get color


Public Method

get green


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

get red


Public Method

get transparency


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

set blue


Public Method

set color


Public Method

set green


Public Method

set red


Public Method

set transparency


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)