Class: TencentCloud::Mps::V20190612::TextWatermarkTemplateInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TextWatermarkTemplateInput
- Defined in:
- lib/v20190612/models.rb
Overview
文字水印模板
Instance Attribute Summary collapse
-
#FontAlpha ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
默认值:1。 注意:此字段可能返回 null,表示取不到有效值。. -
#FontColor ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
默认值:1。 注意:此字段可能返回 null,表示取不到有效值。. -
#FontSize ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
默认值:1。 注意:此字段可能返回 null,表示取不到有效值。. -
#FontType ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
默认值:1。 注意:此字段可能返回 null,表示取不到有效值。. -
#TextContent ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
默认值:1。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fonttype = nil, fontsize = nil, fontcolor = nil, fontalpha = nil, textcontent = nil) ⇒ TextWatermarkTemplateInput
constructor
A new instance of TextWatermarkTemplateInput.
Constructor Details
#initialize(fonttype = nil, fontsize = nil, fontcolor = nil, fontalpha = nil, textcontent = nil) ⇒ TextWatermarkTemplateInput
Returns a new instance of TextWatermarkTemplateInput.
30845 30846 30847 30848 30849 30850 30851 |
# File 'lib/v20190612/models.rb', line 30845 def initialize(fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, textcontent=nil) @FontType = fonttype @FontSize = fontsize @FontColor = fontcolor @FontAlpha = fontalpha @TextContent = textcontent end |
Instance Attribute Details
#FontAlpha ⇒ Object
30843 30844 30845 |
# File 'lib/v20190612/models.rb', line 30843 def FontAlpha @FontAlpha end |
#FontColor ⇒ Object
30843 30844 30845 |
# File 'lib/v20190612/models.rb', line 30843 def FontColor @FontColor end |
#FontSize ⇒ Object
30843 30844 30845 |
# File 'lib/v20190612/models.rb', line 30843 def FontSize @FontSize end |
#FontType ⇒ Object
30843 30844 30845 |
# File 'lib/v20190612/models.rb', line 30843 def FontType @FontType end |
#TextContent ⇒ Object
30843 30844 30845 |
# File 'lib/v20190612/models.rb', line 30843 def TextContent @TextContent end |
Instance Method Details
#deserialize(params) ⇒ Object
30853 30854 30855 30856 30857 30858 30859 |
# File 'lib/v20190612/models.rb', line 30853 def deserialize(params) @FontType = params['FontType'] @FontSize = params['FontSize'] @FontColor = params['FontColor'] @FontAlpha = params['FontAlpha'] @TextContent = params['TextContent'] end |