PHP Класс JansenFelipe\OMR\Contracts\Target

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$blackPixelsPercent float Black pixels percentage
$id string Identifier
$marked boolean Store results if the target was marked
$tolerance float Black pixels percentage compared to whites to consider marked

Открытые методы

Метод Описание
getBlackPixelsPercent ( ) : float
getId ( ) : string
getTolerance ( ) : float
isMarked ( ) : boolean Checks if the target was marked
setBlackPixelsPercent ( float $blackPixelsPercent )
setId ( string $id )
setMarked ( boolean $marked ) Tells whether the target was marked
setTolerance ( float $tolerance )

Описание методов

getBlackPixelsPercent() публичный Метод

public getBlackPixelsPercent ( ) : float
Результат float

getId() публичный Метод

public getId ( ) : string
Результат string

getTolerance() публичный Метод

public getTolerance ( ) : float
Результат float

isMarked() публичный Метод

Checks if the target was marked
public isMarked ( ) : boolean
Результат boolean

setBlackPixelsPercent() публичный Метод

public setBlackPixelsPercent ( float $blackPixelsPercent )
$blackPixelsPercent float

setId() публичный Метод

public setId ( string $id )
$id string

setMarked() публичный Метод

Tells whether the target was marked
public setMarked ( boolean $marked )
$marked boolean

setTolerance() публичный Метод

public setTolerance ( float $tolerance )
$tolerance float

Описание свойств

$blackPixelsPercent защищенное свойство

Black pixels percentage
protected float $blackPixelsPercent
Результат float

$id защищенное свойство

Identifier
protected string $id
Результат string

$marked защищенное свойство

Store results if the target was marked
protected bool $marked
Результат boolean

$tolerance защищенное свойство

Black pixels percentage compared to whites to consider marked
protected float $tolerance
Результат float