BitmovinApiSdk\Models\AspectMode

Synopsis

class AspectMode extends Enum {
  • // methods
  • public static AspectMode create()
  • public static AspectMode PAD()
  • public static AspectMode CROP()
  • public static AspectMode STRETCH()
}

Hierarchy

Methods

public

  • CROP() — Specifies that the Cropping aspect mode is used when adapting to the main input stream's aspect ratio (Cropping on the left/right or bottom/top).
  • PAD() — Specifies that the Padding aspect mode is used when adapting to the main input stream's aspect ratio (Adding black boxes on the bottom/top or left/right).
  • STRETCH() — Specifies that the Stretching aspect mode is used when adapting to the main input stream's aspect ratio (Stretching vertically or horizontally).
  • create()

Inherited from BitmovinApiSdk\Common\Enum

public

  • __callStatic() — Returns a value when called statically like so: MyEnum::SOME_VALUE() given SOME_VALUE is a class constant
  • __toString()
  • equals() — Determines if Enum should be considered equal with the variable passed as a parameter.
  • getKey() — Returns the enum key (i.e. the constant name).
  • getValue()
  • isValidKey() — Check if is valid enum key
  • jsonSerialize() — Specify data which should be serialized to JSON. This method returns data that can be serialized by json_encode() natively.
  • keys() — Returns the names (keys) of all constants in the Enum class
  • toArray() — Returns all possible values as an array
  • values() — Returns instances of the Enum class of all Enum constants