(Defined in: jpgraph_led.php : 37)
Class usage and Overview
Class Methods
Set level of supersampling used in the creation led digits
Argument | Default | Description |
$aSuperSampling
|
2
| Level of supersampling |
Description:
Specifies the amount of oversampling that sould be used to create a smoother looking image. A higher value will generate a smoother image.
The value used for supersampling should be an integer in the range 2-4. A higher value could be used but the increase in CPU time will not generate any perceivable improvements in image quality.
For each integer step increased supersampling the processor time needed is multipled by 2
$led = new DigitalLED74(5);
$led->SetSupersampling(4);
$led->StrokeNumber('ABC123.',LEDC_RED);
// Margin in between "Led" dots
Argument | Default | Description |
$aValStr
| | No description available |
$aColor
|
0
| No description available |
$aFileName
|
''
| No description available |
Description:
No description available.
// Margin in between "Led" dots
Argument | Default | Description |
$aValStr
| | No description available |
$aColor
|
0
| No description available |
$aFileName
|
''
| No description available |
Description:
No description available.
Constructor for 4x7 module LED digits
Argument | Default | Description |
$aRadius
|
2
| Radius in pixel for each "led" |
$aMargin
|
0.6
| Margin around the "led" |
Description:
Instantiate a LED digit class that is used to genereta text which looks like LED digits
See also:
$led = new DigitalLED74();
$led->StrokeNumber('0123456789. ABCDEFGHIJKL',LEDC_GREEN);