aspose.cells

Class ShapePath

Represents a creation path consisting of a series of moves, lines and curves that when combined will form a geometric shape.

Constructor Summary
ShapePath()
Initializes a new instance of the ShapePath class.
 
Property Getters/Setters Summary
functiongetHeightPixel()
function
          
functiongetPathSegementList()
functiongetWidthPixel()
function
          
 
Method Summary
functionarcTo(wR, hR, stAng, swAng)
functionclose()
functioncubicBezierTo(ctrX1, ctrY1, ctrX2, ctrY2, endX, endY)
functionlineTo(x, y)
functionmoveTo(x, y)
 

    • Constructor Detail

      • ShapePath

        function ShapePath()
        Initializes a new instance of the ShapePath class.
    • Property Getters/Setters Detail

      • getWidthPixel/setWidthPixel : Number 

        function getWidthPixel() / function setWidthPixel(value)
        
      • getHeightPixel/setHeightPixel : Number 

        function getHeightPixel() / function setHeightPixel(value)
        
    • Method Detail

      • moveTo

        function moveTo(x, y)
      • lineTo

        function lineTo(x, y)
      • cubicBezierTo

        function cubicBezierTo(ctrX1, ctrY1, ctrX2, ctrY2, endX, endY)
      • arcTo

        function arcTo(wR, hR, stAng, swAng)
      • close

        function close()