Overview

Classes

  • Card
  • CardRegular
  • Component
  • ComponentAvatar
  • ComponentFlag
  • ComponentImage
  • ComponentLabel
  • ComponentXPBar
  • ErrorImage
  • OsuAPI
  • OsuSignature
  • PredefinedColours
  • Signature
  • Template
  • TemplateNormal
  • Utils
  • Overview
  • Class

Class Signature

The base signature object, initialising the canvas and outputting it.

Direct known subclasses

OsuSignature
Author: Lemmmy
Located at Signature.php
Methods summary
public
# __construct( integer $width, integer $height )

Creates a new instance of a basic Signature class

Creates a new instance of a basic Signature class

Parameters

$width
The signature's canvas width
$height
The signature's canvas height
protected
# drawBackground( $hexColour )

Draws the background colour for the signature. Note that this has no relation to Cards.

Draws the background colour for the signature. Note that this has no relation to Cards.

Parameters

$hexColour
Hexadecimal colour value
public
# output( )

Renders the signature to the browser

Renders the signature to the browser

public Imagick
# getCanvas( )

Returns

Imagick
The Imagick object of this signature.
Properties summary
protected Imagick $canvas

The Imagick object for the canvas.

The Imagick object for the canvas.

#
API documentation generated by ApiGen