public function shift($StartAngle, $EndAngle, $Offset, $Reversed)
    {
        if ($Reversed) {
            $Offset = -$Offset;
        }
        foreach ($this->LabelPos as $Key => $Settings) {
            if ($Settings["Angle"] > $StartAngle && $Settings["Angle"] <= $EndAngle) {
                $this->LabelPos[$Key]["YTop"] = $Settings["YTop"] + $Offset;
                $this->LabelPos[$Key]["YBottom"] = $Settings["YBottom"] + $Offset;
                $this->LabelPos[$Key]["Y2"] = $Settings["Y2"] + $Offset;
            }
        }
    }
public function shift($StartAngle, $EndAngle, $Offset, $Reversed)
    {
        if ($Reversed) {
            $Offset = -$Offset;
        }
        foreach ($this->LabelPos as $Key => $Settings) {
            if ($Settings["Angle"] > $StartAngle && $Settings["Angle"] <= $EndAngle) {
                $this->LabelPos[$Key]["YTop"] = $Settings["YTop"] + $Offset;
                $this->LabelPos[$Key]["YBottom"] = $Settings["YBottom"] + $Offset;
                $this->LabelPos[$Key]["Y2"] = $Settings["Y2"] + $Offset;
            }
        }
    }
public function shift ( $ StartAngle , $ EndAngle , $ Offset , $ Reversed ) { if ( $ Reversed ) { $ Offset = - $ Offset ; } foreach ( $ this -> LabelPos as $ Key => $ Settings ) { if ( $ Settings [ "Angle" ] > $ StartAngle && $ Settings [ "Angle" ] <= $ EndAngle ) { $ this -> LabelPos [ $ Key ] [ "YTop" ] = $ Settings [ "YTop" ] + $ Offset ; $ this -> LabelPos [ $ Key ] [ "YBottom" ] = $ Settings [ "YBottom" ] + $ Offset ; $ this -> LabelPos [ $ Key ] [ "Y2" ] = $ Settings [ "Y2" ] + $ Offset ; } } }
Internally used to shift label positions
@param int $StartAngle
@param int $EndAngle
@param int $Offset
@param boolean $Reversed
Internally used to shift label positions