PHP 클래스 JansenFelipe\OMR\Contracts\Target

파일 보기 프로젝트 열기: jansenfelipe/omr

보호된 프로퍼티들

프로퍼티 타입 설명
$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