com.aspose.slides
Class Polyline

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.Polyline
All Implemented Interfaces:
IShape, IShapeFormat

public final class Polyline
extends Shape

Represents the Polyline shape.


Method Summary
 java.awt.geom.GeneralPath getPath()
          Returns the GeneralPath of a polyline.
 java.awt.geom.Point2D.Float[] getPoints()
          Returns the list of a points for the polyline.
 int[] getSegments()
          Returns the list of a segments for the polyline.
 void serialize(java.io.OutputStream stream)
          Serializes a Polyline object to the stream.
 void setPath(java.awt.geom.GeneralPath value)
          Sets the GeneralPath of a polyline.
 
Methods inherited from class com.aspose.slides.Shape
addLink, addTextFrame, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getHeight, getLineFormat, getLink, getMasterShapeId, getName, getParent, getPlaceholder, getProtection, getRotation, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isFlipH, isFlipV, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setHidden, setName, setProtection, setRotation, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serialize

public void serialize(java.io.OutputStream stream)
               throws PptException
Serializes a Polyline object to the stream.

Overrides:
serialize in class Shape
Parameters:
stream - The stream to which the Polyline is to be serialized.
Throws:
PptException

getPoints

public java.awt.geom.Point2D.Float[] getPoints()
Returns the list of a points for the polyline.

Returns:
The points list.

getSegments

public int[] getSegments()
Returns the list of a segments for the polyline.

Returns:
The segments list. See SegmentType[].

getPath

public java.awt.geom.GeneralPath getPath()
Returns the GeneralPath of a polyline.

Returns:
GeneralPath of a polyline.

setPath

public void setPath(java.awt.geom.GeneralPath value)
             throws PptEditException
Sets the GeneralPath of a polyline.

Parameters:
value - GeneralPath of a polyline.
Throws:
PptEditException