Lines Matching refs:writeAttribute

57         $this->xmlWriter->writeAttribute('xmlns', 'http://www.w3.org/2000/svg');
274 $this->xmlWriter->writeAttribute('fill-rule', 'evenodd');
275 $this->xmlWriter->writeAttribute('d', implode('', $pathData));
291 $this->xmlWriter->writeAttribute('gradientUnits', 'userSpaceOnUse');
295 $this->xmlWriter->writeAttribute('x1', (string) round($x, self::PRECISION));
296 $this->xmlWriter->writeAttribute('y1', (string) round($y, self::PRECISION));
297 … $this->xmlWriter->writeAttribute('x2', (string) round($x + $width, self::PRECISION));
298 $this->xmlWriter->writeAttribute('y2', (string) round($y, self::PRECISION));
302 $this->xmlWriter->writeAttribute('x1', (string) round($x, self::PRECISION));
303 $this->xmlWriter->writeAttribute('y1', (string) round($y, self::PRECISION));
304 $this->xmlWriter->writeAttribute('x2', (string) round($x, self::PRECISION));
305 … $this->xmlWriter->writeAttribute('y2', (string) round($y + $height, self::PRECISION));
309 $this->xmlWriter->writeAttribute('x1', (string) round($x, self::PRECISION));
310 $this->xmlWriter->writeAttribute('y1', (string) round($y, self::PRECISION));
311 … $this->xmlWriter->writeAttribute('x2', (string) round($x + $width, self::PRECISION));
312 … $this->xmlWriter->writeAttribute('y2', (string) round($y + $height, self::PRECISION));
316 $this->xmlWriter->writeAttribute('x1', (string) round($x, self::PRECISION));
317 … $this->xmlWriter->writeAttribute('y1', (string) round($y + $height, self::PRECISION));
318 … $this->xmlWriter->writeAttribute('x2', (string) round($x + $width, self::PRECISION));
319 $this->xmlWriter->writeAttribute('y2', (string) round($y, self::PRECISION));
323 … $this->xmlWriter->writeAttribute('cx', (string) round(($x + $width) / 2, self::PRECISION));
324 … $this->xmlWriter->writeAttribute('cy', (string) round(($y + $height) / 2, self::PRECISION));
325 … $this->xmlWriter->writeAttribute('r', (string) round(max($width, $height) / 2, self::PRECISION));
330 $this->xmlWriter->writeAttribute('id', $id);
333 $this->xmlWriter->writeAttribute('offset', '0%');
334 $this->xmlWriter->writeAttribute('stop-color', $this->getColorString($startColor));
337 $this->xmlWriter->writeAttribute('stop-opacity', $startColor->getAlpha());
343 $this->xmlWriter->writeAttribute('offset', '100%');
344 $this->xmlWriter->writeAttribute('stop-color', $this->getColorString($endColor));
347 $this->xmlWriter->writeAttribute('stop-opacity', $endColor->getAlpha());