class-Com.Tecnick.Pdf.Graph.Draw

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Draw

Com\Tecnick\Pdf\Graph\Draw

Com\Tecnick\Pdf\Graph\Base
Extended by Com\Tecnick\Pdf\Graph\Style
Extended by Com\Tecnick\Pdf\Graph\Transform
Extended by Com\Tecnick\Pdf\Graph\Raw
Extended by Com\Tecnick\Pdf\Graph\Gradient
Extended by Com\Tecnick\Pdf\Graph\Draw
Namespace: Com\Tecnick\Pdf\Graph
Package: PdfGraph
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-graph
Located at Draw.php
Methods summary
public string
# getLine( float $posx1, float $posy1, float $posx2, float $posy2, array $style = array() )

Draws a line between two points.

public string
# getCurve( float $posx0, float $posy0, float $posx1, float $posy1, float $posx2, float $posy2, float $posx3, float $posy3, string $mode = 'S', array $style = array() )

Draws a Bezier curve. The Bezier curve is a tangent to the line between the control points at either end of the curve.

public string
# getPolycurve( float $posx0, float $posy0, float $segments, string $mode = 'S', array $style = array() )

Draws a poly-Bezier curve. Each Bezier curve segment is a tangent to the line between the control points at either end of the curve.

public string
# getEllipse( float $posx, float $posy, float $hrad, float $vrad = 0, float $angle = 0, float $angs = 0, float $angf = 360, string $mode = 'S', array $style = array(), integer $ncv = 2 )

Draws an ellipse. An ellipse is formed from n Bezier curves.

public string
# getCircle( float $posx, float $posy, float $rad, float $angs = 0, float $angf = 360, string $mode = 'S', array $style = array(), integer $ncv = 2 )

Draws a circle. A circle is formed from n Bezier curves.

public string
# getPieSector( float $posx, float $posy, float $rad, float $angs = 0, float $angf = 360, string $mode = 'FD', array $style = array(), integer $ncv = 2 )

Draws a circle pie sector.

public string
# getBasicPolygon( array $points, string $mode = 'S', array $style = array() )

Draws a basic polygon.

protected string
# getDefaultSegStyle( array & $styles = array() )

Returns the polygon default style command and initialize the first segment style if missing.

public string
# getPolygon( array $points, string $mode = 'S', array $styles = array() )

Draws a polygon with a different style for each segment.

public string
# getRegularPolygon( float $posx, float $posy, float $radius, integer $sides, float $angle = 0, string $mode = 'S', array $styles = array(), string $cirmode = '', array $cirstyle = array() )

Draws a regular polygon.

public string
# getStarPolygon( float $posx, float $posy, float $radius, integer $nvert, integer $ngaps, float $angle = 0, string $mode = 'S', array $styles = array(), string $cirmode = '', array $cirstyle = array() )

Draws a star polygon.

public string
# getBasicRect( float $posx, float $posy, float $width, float $height, string $mode = 'S', array $style = array() )

Draws a basic rectangle

public string
# getRect( float $posx, float $posy, float $width, float $height, string $mode = 'S', array $styles = array() )

Draws a rectangle with a different style for each segment.

public string
# getRoundedRect( float $posx, float $posy, float $width, float $height, float $hrad, float $vrad, string $corner = '1111', string $mode = 'S', array $style = array() )

Draws a rounded rectangle.

public string
# getArrow( float $posx0, float $posy0, float $posx1, float $posy1, integer $headmode = 0, float $armsize = 5, integer $armangle = 15, array $style = array() )

Draws an arrow.

public string
# getRegistrationMark( float $posx, float $posy, float $rad, boolean $double = false, array $color = 'all' )

Get a registration mark.

public string
# getCmykRegistrationMark( float $posx, float $posy, float $rad )

Get a CMYK registration mark.

Methods inherited from Com\Tecnick\Pdf\Graph\Gradient
getAlpha(), getClippingRect(), getColorRegistrationBar(), getCoonsPatchMesh(), getCropMark(), getGradient(), getGradientStops(), getGradientTransform(), getGradientsArray(), getLinearGradient(), getOverprint(), getRadialGradient()
Methods inherited from Com\Tecnick\Pdf\Graph\Raw
degToRad(), getRawCurve(), getRawCurveV(), getRawCurveY(), getRawEllipticalArc(), getRawLine(), getRawPoint(), getRawRect(), getVectorsAngle(), setRawEllipticalArcAngles()
Methods inherited from Com\Tecnick\Pdf\Graph\Transform
getCtmProduct(), getHorizMirroring(), getHorizScaling(), getHorizSkewing(), getHorizTranslation(), getPointMirroring(), getPropScaling(), getReflection(), getRotation(), getScaling(), getSkewing(), getStartTransform(), getStopTransform(), getTransformIndex(), getTransformStack(), getTransformation(), getTranslation(), getVertMirroring(), getVertScaling(), getVertSkewing(), getVertTranslation()
Methods inherited from Com\Tecnick\Pdf\Graph\Style
add(), getCurrentStyleArray(), getCurrentStyleItem(), getExtGState(), getLastStyleProperty(), getLineModeCmd(), getModeWithoutClose(), getModeWithoutFill(), getModeWithoutStroke(), getPathPaintOp(), getStyle(), getStyleCmd(), init(), isClosingMode(), isFillingMode(), isStrokingMode(), pop(), restoreStyleStaus(), saveStyleStaus()
Methods inherited from Com\Tecnick\Pdf\Graph\Base
__construct(), getObjectNumber(), getOutExtGState(), getOutExtGStateResources(), getOutGradientCols(), getOutGradientResources(), getOutGradientShaders(), getOutPatternObj(), setKUnit(), setPageHeight(), setPageWidth()
Constants inherited from Com\Tecnick\Pdf\Graph\Base
MPI
Properties inherited from Com\Tecnick\Pdf\Graph\Gradient
$gradients
Properties inherited from Com\Tecnick\Pdf\Graph\Transform
$ctm, $ctmid
Properties inherited from Com\Tecnick\Pdf\Graph\Style
$extgstates, $kunit, $linecapmap, $linejoinmap, $ppopmap, $style, $styleid, $stylemark
Properties inherited from Com\Tecnick\Pdf\Graph\Base
$col, $enc, $pageh, $pagew, $pdfa, $pon
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy