MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CGPathElementMBS class

class, CoreGraphics, MBS MacOSXCG Plugin (CG), class CGPathElementMBS,
Plugin version: 15.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The class for CGPath elements.
Example:
dim m as new CGMutablePathMBS

m.MoveToPoint nil, 10, 10
m.AddLineToPoint nil, 20, 30

dim e() as CGPathElementMBS = m.Elements
Break // see in debugger

Type Constants

Constant Value Description
kTypeAddCurveToPoint 3 The path element that adds a cubic curve from the current point to the specified point. The element holds two control points and a destination point.
kTypeAddLineToPoint 1 The path element that adds a line from the current point to a new point. The element holds a single point for the destination.
kTypeAddQuadCurveToPoint 2 The path element that adds a quadratic curve from the current point to the specified point. The element holds a control point and a destination point.
kTypeCloseSubpath 4 The path element that closes and completes a subpath. The element does not contain any points.
kTypeMoveToPoint 0 The path element that starts a new subpath. The element holds a single point for the destination.

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS MacOSXCG Plugin.


CGMutablePathMBS   -   CGPathMBS




Links
MBS Realbasic PDF Plugins