Aspose.Diagram for Java 21.2 Release Notes
Improvements and Changes
|DIAGRAMJAVA-50710||add a single line to a Viso file, so that if remains editable as a line||Enhancement|
Public API and Backwards Incompatible Changes
The following is a list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.Diagram for Java. If you have concerns about any change listed, please raise it on the Aspose.Diagram support forum.
Adds activePage in Diagram
- Specifies the active page
Page page = diagram.getActivePage()
Adds centerDrawing in Shape
- Center the shape with respect to the extent of the page
Adds drawLine in Page
- The process of drawing a single line.
diagram.getPages().get(0).drawLine(0, 0, 1, 1);