This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
883d93b0 5716 4db1 aeb2 d7f53dfb6de4
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represents the transparency of a layer or an entity.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class Transparency : ICloneable,
IEquatable<Transparency>
VB
Public Class Transparency
Implements ICloneable, IEquatable(Of Transparency)
C++
public ref class Transparency : ICloneable,
IEquatable<Transparency^>
F#
type Transparency =
class
interface ICloneable
interface IEquatable<Transparency>
end
Inheritance | Object → Transparency |
Implements | ICloneable, IEquatable(Transparency) |
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.
Transparency() | Initializes a new instance of the Transparency class. |
Transparency(Int16) | Initializes a new instance of the Transparency class. |
ByBlock | Gets the ByBlock transparency. |
ByLayer | Gets the ByLayer transparency. |
IsByBlock | Defines if the transparency is defined by block. |
IsByLayer | Defines if the transparency is defined by layer. |
Value | Gets or sets the transparency value range from 0 to 90. |
Clone | Creates a new transparency that is a copy of the current instance. |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Equals(Transparency) | Check if the components of two transparencies are equal. |
FromAlphaValue | Gets the transparency object from a transparency value. |
FromCadIndex | |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToAlphaValue | Gets the transparency value from a transparency object. |
ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object.ToString()) |