Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

(no description)

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

Defines 1 class


Class: GridLines  - X-Ref

Created by PhpStorm.
User: Wiktor Trzonkowski
Date: 7/2/14
Time: 2:36 PM.

getObjectState()   X-Ref
Get Object State.

return: bool

activateObject()   X-Ref
Change Object State to True.

return: $this

setLineColorProperties($value, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_STANDARD)   X-Ref
Set Line Color Properties.

param: string $value
param: int $alpha
param: string $type

setLineStyleProperties($line_width = null, $compound_type = null, $dash_type = null, $cap_type = null, $join_type = null, $head_arrow_type = null, $head_arrow_size = null, $end_arrow_type = null, $end_arrow_size = null)   X-Ref
Set Line Color Properties.

param: float $line_width
param: string $compound_type
param: string $dash_type
param: string $cap_type
param: string $join_type
param: string $head_arrow_type
param: string $head_arrow_size
param: string $end_arrow_type
param: string $end_arrow_size

getLineColorProperty($parameter)   X-Ref
Get Line Color Property.

param: string $parameter
return: string

getLineStyleProperty($elements)   X-Ref
Get Line Style Property.

param: array|string $elements
return: string

setGlowProperties($size, $color_value = null, $color_alpha = null, $color_type = null)   X-Ref
Set Glow Properties.

param: float $size
param: string $color_value
param: int $color_alpha
param: string $color_type

getGlowColor($property)   X-Ref
Get Glow Color Property.

param: string $property
return: string

getGlowSize()   X-Ref
Get Glow Size.

return: string

setGlowSize($size)   X-Ref
Set Glow Size.

param: float $size
return: $this

setGlowColor($color, $alpha, $type)   X-Ref
Set Glow Color.

param: string $color
param: int $alpha
param: string $type
return: $this

getLineStyleArrowParameters($arrow_selector, $property_selector)   X-Ref
Get Line Style Arrow Parameters.

param: string $arrow_selector
param: string $property_selector
return: string

setShadowProperties($sh_presets, $sh_color_value = null, $sh_color_type = null, $sh_color_alpha = null, $sh_blur = null, $sh_angle = null, $sh_distance = null)   X-Ref
Set Shadow Properties.

param: int $sh_presets
param: string $sh_color_value
param: string $sh_color_type
param: int $sh_color_alpha
param: string $sh_blur
param: int $sh_angle
param: float $sh_distance

setShadowPresetsProperties($shadow_presets)   X-Ref
Set Shadow Presets Properties.

param: int $shadow_presets
return: $this

setShadowProperiesMapValues(array $properties_map, &$reference = null)   X-Ref
Set Shadow Properties Values.

param: mixed &$reference
return: $this

setShadowColor($color, $alpha, $type)   X-Ref
Set Shadow Color.

param: string $color
param: int $alpha
param: string $type
return: $this

setShadowBlur($blur)   X-Ref
Set Shadow Blur.

param: float $blur
return: $this

setShadowAngle($angle)   X-Ref
Set Shadow Angle.

param: int $angle
return: $this

setShadowDistance($distance)   X-Ref
Set Shadow Distance.

param: float $distance
return: $this

getShadowProperty($elements)   X-Ref
Get Shadow Property.

param: string|string[] $elements
return: string

setSoftEdgesSize($size)   X-Ref
Set Soft Edges Size.

param: float $size

getSoftEdgesSize()   X-Ref
Get Soft Edges Size.

return: string