$rangeStart
$rangeStart :
An Apple News Document InlineTextStyle.
__construct(integer $range_start, integer $range_length, string|\ChapterThree\AppleNewsAPI\Document\Styles\TextStyle $text_style)
Implements __construct().
integer | $range_start | RangeStart. |
integer | $range_length | RangeLength. |
string|\ChapterThree\AppleNewsAPI\Document\Styles\TextStyle | $text_style | Either a TextStyle object, or a string reference to one defined in $document. |
setTextStyle(string|\ChapterThree\AppleNewsAPI\Document\Styles\TextStyle $value, \ChapterThree\AppleNewsAPI\Document|NULL $document = NULL) : $this
Setter for textStyle.
string|\ChapterThree\AppleNewsAPI\Document\Styles\TextStyle | $value | Either a TextStyle object, or a string reference to one defined in $document. |
\ChapterThree\AppleNewsAPI\Document|NULL | $document | If required by first parameter. |
isUnitInterval(float|integer $value) : boolean
Helper function to determine if a value is a unit interval.
A unit interval is the closed interval [0,1], that is, the set of all real numbers that are greater than or equal to 0 and less than or equal to 1.
float|integer | $value | Value. |
Result.