Click or drag to resize

Transparency Class

Represents the transparency of a layer or an entity.
Inheritance Hierarchy
SystemObject
  DXFReaderNETTransparency

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class Transparency : ICloneable, 
	IEquatable<Transparency>

The Transparency type exposes the following members.

Constructors
  NameDescription
Public methodTransparency
Initializes a new instance of the Transparency class.
Public methodTransparency(Int16)
Initializes a new instance of the Transparency class.
Top
Properties
  NameDescription
Public propertyStatic memberByBlock
Gets the ByBlock transparency.
Public propertyStatic memberByLayer
Gets the ByLayer transparency.
Public propertyIsByBlock
Defines if the transparency is defined by block.
Public propertyIsByLayer
Defines if the transparency is defined by layer.
Public propertyValue
Gets or sets the transparency value range from 0 to 90.
Top
Methods
  NameDescription
Public methodClone
Creates a new transparency that is a copy of the current instance.
Public methodEquals
Check if the components of two transparencies are equal.
Public methodStatic memberFromAlphaValue
Gets the transparency object from a transparency value.
Public methodStatic memberToAlphaValue
Gets the transparency value from a transparency object.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides ObjectToString.)
Top
Remarks
When the transparency of an entity is ByLayer the code 440 will not appear in the dxf, but for comparison purposes the ByLayer transparency is assigned a value of -1.
See Also