Overview

Namespaces

  • Scene7
    • Commands
      • Layer
    • Definitions
    • Helpers
      • Html
        • Attributes
    • Requests

Classes

  • Layer

Traits

  • Align
  • Anchor
  • BackgroundColor
  • Cache
  • ColorQuantization
  • Crop
  • DefaultImage
  • EmbedColorProfile
  • EmbedPathData
  • Fit
  • Format
  • Height
  • Id
  • LayerFactory
  • Locale
  • Mask
  • MaskUse
  • MaxJpegSize
  • Message
  • Name
  • OutputColorProfile
  • Perspective
  • PrintResolution
  • Quality
  • RegionOfInterest
  • Resampling
  • Resolution
  • ResponseType
  • Scale
  • ScaleView
  • Template
  • Timeout
  • Type
  • UnsharpMask
  • ViewRectangle
  • Width
  • XmpEmbed
  • Overview
  • Namespace
  • Class

Trait Perspective

Namespace: Scene7\Commands
Located at Commands/Perspective.php
Methods summary
public Scene7\Commands\Perspective
# setPerspective( float $topLeft, float $topRight, float $bottomLeft, float $bottomRight, string|null $resamplingMode = null, boolean $normalized = false )

Parameters

$topLeft
$topRight
$bottomLeft
$bottomRight
$resamplingMode
One of Definitions\ResamplingModes
$normalized

Returns

Scene7\Commands\Perspective
$this
public Scene7\Commands\Perspective
# setPerspectiveNormalized( float $topLeft, float $topRight, float $bottomLeft, float $bottomRight, string|null $resamplingMode = null )

Parameters

$topLeft
$topRight
$bottomLeft
$bottomRight
$resamplingMode
One of Definitions\ResamplingModes

Returns

Scene7\Commands\Perspective
$this
protected boolean
# isAllowedPerspectiveResamplingMode( string $mode )

Parameters

$mode

Returns

boolean
public string[]
# getAllowedPerspectiveResamplingMode( )

Returns

string[]
API documentation generated by ApiGen