Click or drag to resize

Transparency Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents the transparency of a layer or an entity.
Inheritance Hierarchy
SystemObject
  netDxfTransparency

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class Transparency : ICloneable, 
	IEquatable<Transparency>
Request Example View Source

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(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(Transparency)
Check if the components of two transparencies are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromAlphaValue
Gets the transparency object from a transparency value.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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