public class RectangleCollection extends Object implements Serializable
This class is used to wrap up the composite Rectangle class to the class appropriate for serialization within generic collection
Constructor and Description |
---|
RectangleCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(Rectangle addRect)
Adds the specified add rect.
|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
boolean |
exportToXml(String xmlFile)
Exports RectangleCollection properties to the xml-file specified
|
boolean |
exportToXml(String xmlFile,
XmlWriterSettings settings)
Exports RectangleCollection properties to the xml-file specified
|
Rectangle[] |
getRectangles()
Gets or sets the rectangles.
|
static RectangleCollection |
importFromXml(String xmlFileName)
Imports RectangleCollection properties from the xml-file specified
|
void |
setRectangles(Rectangle[] value)
Gets or sets the rectangles.
|
public Rectangle[] getRectangles()
Gets or sets the rectangles.
Value: The rectangles.public void setRectangles(Rectangle[] value)
Gets or sets the rectangles.
Value: The rectangles.public void add(Rectangle addRect)
Adds the specified add rect.
addRect
- The add rect.public boolean exportToXml(String xmlFile)
Exports RectangleCollection properties to the xml-file specified
xmlFile
- the name for the filepublic boolean exportToXml(String xmlFile, XmlWriterSettings settings)
Exports RectangleCollection properties to the xml-file specified
xmlFile
- the name for the filesettings
- the settings for serializingpublic static RectangleCollection importFromXml(String xmlFileName)
Imports RectangleCollection properties from the xml-file specified
public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Copyright (c) 2002-2017 Aspose Pty Ltd. All Rights Reserved.