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
ConstructorsConstructorDescriptionTLcdDWGLayer(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 TypeMethodDescriptionintgetColor()intRetrieves the transparency to be used for elements in this layer.intgetName()intbooleanbooleanisFrozen()booleanbooleanisLocked()booleanisOn()booleanbooleanvoidsetColor(int aColor) voidsetColorTransparency(int aColorTransparency) Sets the transparency to be used for elements in this layer.voidsetColorValue(Color aColorValue) Sets the color to be used for elements in this layer.voidsetDependentOnXref(boolean aIsDependentOnXref) voidsetFrozen(boolean aIsFrozen) voidsetFrozenByDefault(boolean aIsFrozenByDefault) voidsetLineType(TLcdDWGLineType aLineType) voidsetLineWeight(int aLineWeight) voidsetLocked(boolean aIsLocked) voidvoidsetOn(boolean aIsOn) voidsetPlotted(boolean aIsPlotted) voidsetReferencedXref(boolean aIsReferencedXref) voidsetXrefIndex(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
-