ColorWithTransparency
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
Dispose
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
GetBlue
get blue
Public Method
GetColor
get color
Public Method
GetGreen
get green
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetRed
get red
Public Method
GetTransparency
get transparency
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetBlue
set blue
Public Method
SetColor
set color
Public Method
SetGreen
set green
Public Method
SetRed
set red
Public Method
SetTransparency
set transparency
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)