Layer

public interface Layer

Represents layer contained by the CAD drawing. Default implementation is LayerImpl

Methods

Method Description
getName() The name of the layer.
isVisible() The layer visibility indicator.
equals(Object other) Checks equality

getName()

public abstract String getName()

The name of the layer. Layer names are case sensitive.

Returns: java.lang.String

isVisible()

public abstract boolean isVisible()

The layer visibility indicator. The CAD drawing layers that are switched off or frozen are invisible. To render layers that are invisible, use (CadOptions.getLayers/CadOptions.setLayers(List) option.

Returns: boolean

equals(Object other)

public abstract boolean equals(Object other)

Checks equality

Parameters:

Parameter Type Description
other java.lang.Object object to compare

Returns: boolean - true if equal, otherwise false