Xoetrope

 Wiki : XSvgLayer

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XSvgLayer

class com.xoetrope.svg.XSvgLayer

A layer, which which can be added to an SVG image.

1. Constructor


<?java
public XSvgLayer( String name, XSvgImageMap imageMap )
?>


Constructor which takes a String, which will be the layer's id, and an XSvgImageMap instance which provides the SVG image that the layer will be added to.

2. Methods


1. setImageMap

<?java
public void setImageMap( XSvgImageMap imageMap )
?>


Set the XSvgImageMap instance that will be used by this class.

2. addElement

<?java
public void addElement( SVGElement element )
?>


Add an SVGElement to the layer.

3. setVisible

<?java
public void setVisible()
?>


Sets the layer to be visible within the SVG image.

3. setHidden

<?java
public void setHidden()
?>


Sets the layer to be hidden within the SVG image.

4. addToImageMap

<?java
public void addToImageMap()
?>


Add the layer the the SVG image.

5. removeFromImageMap

<?java
public void removeFromImageMap()
?>


Removes the layer from the SVG image.

There are no comments on this page. [Add comment]

Page was generated in 0.3513 seconds