AnyLogic
Expand
Font size
Enclosing class:
SVGUtils

public static class SVGUtils.SVGCadDescriptor
extends Object

Field Summary

Modifier and TypeFieldDescription
final doublecadHeight 
final doublecadWidth 
final Map<String,SVGUtils.SVGCadLayerDescriptor>layers 

Constructor Summary

ConstructorDescription
SVGCadDescriptor(double width, double height) 

Method Summary

Modifier and TypeMethodDescription
static SVGUtils.SVGCadDescriptordeserialize(InputStream stream) 
voidserialize(File file) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

cadWidth

public final double cadWidth

cadHeight

public final double cadHeight

layers

public final Map<String,SVGUtils.SVGCadLayerDescriptor> layers

Constructor Details

SVGCadDescriptor

public SVGCadDescriptor(double width,
 double height)

Method Details

serialize

public void serialize(File file)
               throws IOException
Throws:
IOException

deserialize

public static SVGUtils.SVGCadDescriptor deserialize(InputStream stream)
                                             throws IOException
Throws:
IOException