ChartDirector 5.1 (PHP Edition)

DrawArea.hTriangleTransform


Usage

hTriangleTransform([ tWidth [, bgColor [, filter [, blur ]]]])

Description

Wraps the drawing surface onto a horizontal triangle pointing leftwards.

Arguments

ArgumentDefaultDescription
tWidth-1The width of the triangle in pixels.
bgColorFFFFFFThe background color used to fill the space left after transformation.
filterLinearFilterThe filter to use for re-sampling.
blur1The blur factor to use for re-sampling.

Return Value

None