Skip to content

Latest commit

 

History

History
261 lines (82 loc) · 1.31 KB

File metadata and controls

261 lines (82 loc) · 1.31 KB

Edge

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

Properties

positive

private bool $positive

points

private int[][] $points

simplifiedPoints

private int[][]|null $simplifiedPoints

minX

private int $minX

minY

private int $minY

maxX

private int $maxX

maxY

private int $maxY

Methods

__construct

public __construct(bool $positive): mixed

Parameters:

Parameter Type Description
$positive bool

addPoint

public addPoint(int $x, int $y): void

Parameters:

Parameter Type Description
$x int
$y int

isPositive

public isPositive(): bool

getPoints

public getPoints(): int[][]

getMaxX

public getMaxX(): int

getSimplifiedPoints

public getSimplifiedPoints(): array