Click or drag to resize

PdfPathOperation Class

PdfPathOperation is a class that represents actions taken to create a path and the encapsulated data. PdfPathOperation objects are not constructed directly, but are instead made through static factory methods or through convenience methods in higher level shape objects such as PdfPath.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.Generating.RenderingPdfPathOperation

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class PdfPathOperation

The PdfPathOperation type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAction
Gets the action for this path operation.
Public propertyDestinationPoint
Gets the destination point for a Move, Line or Curve operation. In the case of a Curve, this returns the final point in the set of three as the curve will always end at that point.
Public propertyCode examplePoints
Gets the points associated with this path operation. For Move and Line operations, this list will contain one PdfPoint. For Curve operations, the list will contain exactly three points. For Close operations, this list will be empty. Changing the number of points in an existing PdfPathOperation object will cause unpredictable results.
Top
Methods
  NameDescription
Public methodStatic memberCode exampleClose
Constructs a new Close PdfPathOperation, representing a closed sub path.
Public methodStatic memberCode exampleCurveTo
Constructs a new Curve PdfPathOpertaion, representing a Bezier curve
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberCode exampleLineTo(PdfPoint)
Constructs a new Line PdfPathOperation to the specified point.
Public methodStatic memberCode exampleLineTo(Double, Double)
Constructs a new Line PdfPathOperation to the specified x and y coordinates.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberCode exampleMoveTo(PdfPoint)
Constructs a new Move PdfPathOperation to the specified point.
Public methodStatic memberCode exampleMoveTo(Double, Double)
Constructs a new Move PdfPathOperation to the specified x and y coordinates.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also