Class: TencentCloud::Mps::V20190612::ComposeImageOperation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

视频编辑/合成任务 视频图像转换操作。

Instance Attribute Summary collapse

  • #RotateAngle ⇒ Object
  • Rotate:图像旋转。
  • Flip:图像翻转。
  • Horizental:水平翻转,即左右镜像。
  • Vertical:垂直翻转,即上下镜像。
  • .
  • #Type ⇒ Object
  • Rotate:图像旋转。
  • Flip:图像翻转。
  • Horizental:水平翻转,即左右镜像。
  • Vertical:垂直翻转,即上下镜像。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, rotateangle = nil, fliptype = nil) ⇒ ComposeImageOperation

    Returns a new instance of ComposeImageOperation.

    
    
    6609
    6610
    6611
    6612
    6613
    # File 'lib/v20190612/models.rb', line 6609
    
    def initialize(type=nil, rotateangle=nil, fliptype=nil)
      @Type = type
      @RotateAngle = rotateangle
      @FlipType = fliptype
    end
    

    Instance Attribute Details

    #FlipTypeObject

  • Rotate:图像旋转。
  • Flip:图像翻转。
  • Horizental:水平翻转,即左右镜像。
  • Vertical:垂直翻转,即上下镜像。
  • Parameters:

    • Type:

      类型,取值有:

    • RotateAngle:

      当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。

    • FlipType:

      当 Type = Flip 时有效。图像翻转动作,取值有:

    
    
    6607
    6608
    6609
    # File 'lib/v20190612/models.rb', line 6607
    
    def FlipType
      @FlipType
    end
    

    #RotateAngleObject

  • Rotate:图像旋转。
  • Flip:图像翻转。
  • Horizental:水平翻转,即左右镜像。
  • Vertical:垂直翻转,即上下镜像。
  • Parameters:

    • Type:

      类型,取值有:

    • RotateAngle:

      当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。

    • FlipType:

      当 Type = Flip 时有效。图像翻转动作,取值有:

    
    
    6607
    6608
    6609
    # File 'lib/v20190612/models.rb', line 6607
    
    def RotateAngle
      @RotateAngle
    end
    

    #TypeObject

  • Rotate:图像旋转。
  • Flip:图像翻转。
  • Horizental:水平翻转,即左右镜像。
  • Vertical:垂直翻转,即上下镜像。
  • Parameters:

    • Type:

      类型,取值有:

    • RotateAngle:

      当 Type = Rotate 时有效。图像以中心点为原点进行旋转的角度,取值范围0~360。

    • FlipType:

      当 Type = Flip 时有效。图像翻转动作,取值有:

    
    
    6607
    6608
    6609
    # File 'lib/v20190612/models.rb', line 6607
    
    def Type
      @Type
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    6615
    6616
    6617
    6618
    6619
    # File 'lib/v20190612/models.rb', line 6615
    
    def deserialize(params)
      @Type = params['Type']
      @RotateAngle = params['RotateAngle']
      @FlipType = params['FlipType']
    end