public class Layer
Constructor Summary |
---|
Layer()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
BoolValue | getActive() | |
Specifies whether a layer is active. Shapes that are not preassigned to layers are assigned to the active layer(s) when dropped on the drawing page.
|
||
ColorValue | getColor() | |
The index of the color in the color table used toThe index of the color in the color table used to display the layer or An RGB value specifying a custom color not in the color table (for example, #ff9900 ). display the layer
|
||
DoubleValue | getColorTrans() | |
Determines the degree of transparency for a layer or shape's text color, from 0 (completely opaque) to 1 (completely transparent).
|
||
int | getDel() | |
void | setDel(intvalue) | |
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant. | ||
BoolValue | getGlue() | |
Specifies whether shapes belonging to the layer can be glued to.
|
||
int | isColorChecked() | |
void | setColorChecked(intvalue) | |
A flag indicating whether the element has been checked locally. A value of 1 indicates that the element was checked locally. The value of the property is BOOL integer constant. | ||
int | getIX() | |
void | setIX(intvalue) | |
The zero-based index of the element within its parent element. | ||
BoolValue | getLock() | |
Specifies whether shapes belonging to the layer are locked against being selected or edited.
|
||
Str2Value | getName() | |
Name element specifies the name of a layer.
|
||
Str2Value | getNameUniv() | |
Specifies the universal name of a layer.
|
||
BoolValue | getPrint() | |
Specifies whether shapes belonging to the layer are printed when the drawing is printed.
|
||
BoolValue | getSnap() | |
Specifies whether other shapes can snap to shapes assigned to the layer. Shapes assigned to the layer can snap to other shapes, but other shapes cannot snap to them.
|
||
BoolValue | getStatus() | |
Specifies whether the layer is a valid layer for a document.
|
||
BoolValue | getVisible() | |
Specifies whether shapes belonging to the layer are visible on the drawing page.
|
public int getIX() / public void setIX(int value)
public int getDel() / public void setDel(int value)
public Str2Value getName()
public ColorValue getColor()
public int isColorChecked() / public void setColorChecked(int value)
public BoolValue getStatus()
public BoolValue getVisible()
public BoolValue getPrint()
public BoolValue getActive()
public BoolValue getLock()
public BoolValue getSnap()
public BoolValue getGlue()
public Str2Value getNameUniv()
public DoubleValue getColorTrans()