Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

(no description)

File Size: 1327 lines (52 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: GeoPattern  - X-Ref

__construct($options=array()   X-Ref
No description

setString($string)   X-Ref
No description

getString()   X-Ref

return: string

setBaseColor($baseColor)   X-Ref
No description

setColor($color)   X-Ref
No description

setGenerator($generator)   X-Ref
No description

toSVG()   X-Ref
No description

toBase64()   X-Ref
No description

toDataURI()   X-Ref
No description

toDataURL()   X-Ref
No description

__toString()   X-Ref
No description

generateBackground()   X-Ref
No description

generatePattern()   X-Ref
No description

geoHexagons()   X-Ref
No description

geoSineWaves()   X-Ref
No description

geoChevrons()   X-Ref
No description

geoPlusSigns()   X-Ref
No description

geoXes()   X-Ref
No description

geoOverlappingCircles()   X-Ref
No description

geoOctogons()   X-Ref
No description

geoSquares()   X-Ref
No description

geoConcentricCircles()   X-Ref
No description

geoOverlappingRings()   X-Ref
No description

geoTriangles()   X-Ref
No description

geoTrianglesRotated()   X-Ref
No description

geoDiamonds()   X-Ref
No description

geoNestedSquares()   X-Ref
No description

geoMosaicSquares()   X-Ref
No description

geoPlaid()   X-Ref
No description

geoTessellation()   X-Ref
No description

buildChevronShape($width, $height)   X-Ref
No description

buildOctogonShape($squareSize)   X-Ref
No description

buildHexagonShape($sideLength)   X-Ref
No description

buildPlusShape($squareSize)   X-Ref
No description

buildTriangleShape($sideLength, $height)   X-Ref
No description

buildRotatedTriangleShape($sideLength, $width)   X-Ref
No description

buildRightTriangleShape($sideLength)   X-Ref
No description

buildDiamondShape($width, $height)   X-Ref
No description

drawInnerMosaicTile($x, $y, $triangleSize, $vals)   X-Ref
No description

drawOuterMosaicTile($x, $y, $triangleSize, $val)   X-Ref
No description

fillColor($val)   X-Ref
No description

opacity($val)   X-Ref
No description

hexVal($index, $len)   X-Ref
No description

map($value, $vMin, $vMax, $dMin, $dMax)   X-Ref
No description

hexToHSL($color)   X-Ref
No description

hexToRGB($hex)   X-Ref
No description

rgbToHSL($r, $g, $b)   X-Ref
No description

hslToRGB($h, $s, $l)   X-Ref
No description

rgbToHex($r, $g, $b)   X-Ref
No description