Skip to content

Latest commit

 

History

History
241 lines (75 loc) · 1.84 KB

File metadata and controls

241 lines (75 loc) · 1.84 KB

EyeFill

  • Full name: \BaconQrCode\Renderer\RendererStyle\EyeFill
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

externalColor

private \BaconQrCode\Renderer\Color\ColorInterface|null $externalColor

internalColor

private \BaconQrCode\Renderer\Color\ColorInterface|null $internalColor

inherit

private static self|null $inherit
  • This property is static.

Methods

__construct

public __construct(?\BaconQrCode\Renderer\Color\ColorInterface $externalColor, ?\BaconQrCode\Renderer\Color\ColorInterface $internalColor): mixed

Parameters:

Parameter Type Description
$externalColor ?\BaconQrCode\Renderer\Color\ColorInterface
$internalColor ?\BaconQrCode\Renderer\Color\ColorInterface

uniform

public static uniform(\BaconQrCode\Renderer\Color\ColorInterface $color): self
  • This method is static.

Parameters:

Parameter Type Description
$color \BaconQrCode\Renderer\Color\ColorInterface

inherit

public static inherit(): self
  • This method is static.

inheritsBothColors

public inheritsBothColors(): bool

inheritsExternalColor

public inheritsExternalColor(): bool

inheritsInternalColor

public inheritsInternalColor(): bool

getExternalColor

public getExternalColor(): \BaconQrCode\Renderer\Color\ColorInterface

getInternalColor

public getInternalColor(): \BaconQrCode\Renderer\Color\ColorInterface