Package com.luciad.format.dwg
Class TLcdDWGLayer
java.lang.Object
com.luciad.format.dwg.TLcdDWGLayer
This class represents the display information of the objects present in
DWG files.
-
Constructor Summary
ConstructorDescriptionTLcdDWGLayer
(String aName, boolean aIsReferencedXref, int aXrefIndex, boolean aIsDependentOnXref, boolean aIsOn, boolean aIsFrozen, boolean aIsFrozenByDefault, boolean aIsLocked, boolean aIsPlotted, int aColor, int aColorTransparency, Color aColorValue, int aLineWeight, TLcdDWGLineType aLineType) -
Method Summary
Modifier and TypeMethodDescriptionint
getColor()
int
Retrieves the transparency to be used for elements in this layer.int
getName()
int
boolean
boolean
isFrozen()
boolean
boolean
isLocked()
boolean
isOn()
boolean
boolean
void
setColor
(int aColor) void
setColorTransparency
(int aColorTransparency) Sets the transparency to be used for elements in this layer.void
setColorValue
(Color aColorValue) Sets the color to be used for elements in this layer.void
setDependentOnXref
(boolean aIsDependentOnXref) void
setFrozen
(boolean aIsFrozen) void
setFrozenByDefault
(boolean aIsFrozenByDefault) void
setLineType
(TLcdDWGLineType aLineType) void
setLineWeight
(int aLineWeight) void
setLocked
(boolean aIsLocked) void
void
setOn
(boolean aIsOn) void
setPlotted
(boolean aIsPlotted) void
setReferencedXref
(boolean aIsReferencedXref) void
setXrefIndex
(int aXrefIndex)
-
Constructor Details
-
TLcdDWGLayer
public TLcdDWGLayer() -
TLcdDWGLayer
public TLcdDWGLayer(String aName, boolean aIsReferencedXref, int aXrefIndex, boolean aIsDependentOnXref, boolean aIsOn, boolean aIsFrozen, boolean aIsFrozenByDefault, boolean aIsLocked, boolean aIsPlotted, int aColor, int aColorTransparency, Color aColorValue, int aLineWeight, TLcdDWGLineType aLineType)
-
-
Method Details
-
setName
-
getName
-
setReferencedXref
public void setReferencedXref(boolean aIsReferencedXref) -
isReferencedXref
public boolean isReferencedXref() -
setXrefIndex
public void setXrefIndex(int aXrefIndex) -
getXrefIndex
public int getXrefIndex() -
setDependentOnXref
public void setDependentOnXref(boolean aIsDependentOnXref) -
isDependentOnXref
public boolean isDependentOnXref() -
setFrozen
public void setFrozen(boolean aIsFrozen) -
isFrozen
public boolean isFrozen() -
setOn
public void setOn(boolean aIsOn) -
isOn
public boolean isOn() -
setFrozenByDefault
public void setFrozenByDefault(boolean aIsFrozenByDefault) -
isFrozenByDefault
public boolean isFrozenByDefault() -
setLocked
public void setLocked(boolean aIsLocked) -
isLocked
public boolean isLocked() -
setPlotted
public void setPlotted(boolean aIsPlotted) -
isPlotted
public boolean isPlotted() -
setColor
public void setColor(int aColor) -
getColor
public int getColor() -
getColorTransparency
public int getColorTransparency()Retrieves the transparency to be used for elements in this layer.- Returns:
- a value between 0 (fully transparent) and 255 (fully opaque).
-
setColorTransparency
public void setColorTransparency(int aColorTransparency) Sets the transparency to be used for elements in this layer.- Parameters:
aColorTransparency
- a value between 0 (fully transparent) and 255 (fully opaque).
-
getColorValue
- Returns:
- The color to be used for elements in this layer.
-
setColorValue
Sets the color to be used for elements in this layer.- Parameters:
aColorValue
- The color to be used.
-
setLineWeight
public void setLineWeight(int aLineWeight) -
getLineWeight
public int getLineWeight() -
setLineType
-
getLineType
-