Constructor DxfTransparency
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfTransparency(byte)
Initializes a transparency of its own, by alpha, as AutoCAD's Transparency(byte): 0 clear, 255 solid, 127 the 50
per cent AutoCAD's dialog shows.
public DxfTransparency(byte alpha)
Parameters
alphabyteThe alpha, 0 to 255.
DxfTransparency(DxfTransparencyMethod)
Initializes a transparency by its method, as AutoCAD's Transparency(TransparencyMethod): BYLAYER or BYBLOCK,
whose alpha is nought; by alpha, solid, 255.
public DxfTransparency(DxfTransparencyMethod method)
Parameters
methodDxfTransparencyMethodThe method.
Exceptions
- ArgumentOutOfRangeException
Thrown when the method is not one of DxfTransparencyMethod.