alignment = $alignment; } /** * @return self::ALIGNMENT_* */ public function getAlignment() { return $this->alignment; } /** * The width of the media in pixels. When the media is displayed, it is scaled * to the smaller of this value or the width of the displayed form. The * original aspect ratio of the media is preserved. If a width is not * specified when the media is added to the form, it is set to the width of * the media source. Width must be between 0 and 740, inclusive. Setting width * to 0 or unspecified is only permitted when updating the media source. * * @param int $width */ public function setWidth($width) { $this->width = $width; } /** * @return int */ public function getWidth() { return $this->width; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MediaProperties::class, 'Google_Service_Forms_MediaProperties');