Class: TencentCloud::Mps::V20190612::TextWatermarkTemplateInputForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TextWatermarkTemplateInputForUpdate
- Defined in:
- lib/v20190612/models.rb
Overview
文字水印模板
Instance Attribute Summary collapse
-
#FontAlpha ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
. -
#FontColor ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
. -
#FontSize ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
. -
#FontType ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
. -
#TextContent ⇒ Object
- simkai.ttf:可以支持中文和英文;
- arial.ttf:仅支持英文。
- 0:完全透明
- 1:完全不透明
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fonttype = nil, fontsize = nil, fontcolor = nil, fontalpha = nil, textcontent = nil) ⇒ TextWatermarkTemplateInputForUpdate
constructor
A new instance of TextWatermarkTemplateInputForUpdate.
Constructor Details
#initialize(fonttype = nil, fontsize = nil, fontcolor = nil, fontalpha = nil, textcontent = nil) ⇒ TextWatermarkTemplateInputForUpdate
Returns a new instance of TextWatermarkTemplateInputForUpdate.
30881 30882 30883 30884 30885 30886 30887 |
# File 'lib/v20190612/models.rb', line 30881 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
30879 30880 30881 |
# File 'lib/v20190612/models.rb', line 30879 def FontAlpha @FontAlpha end |
#FontColor ⇒ Object
30879 30880 30881 |
# File 'lib/v20190612/models.rb', line 30879 def FontColor @FontColor end |
#FontSize ⇒ Object
30879 30880 30881 |
# File 'lib/v20190612/models.rb', line 30879 def FontSize @FontSize end |
#FontType ⇒ Object
30879 30880 30881 |
# File 'lib/v20190612/models.rb', line 30879 def FontType @FontType end |
#TextContent ⇒ Object
30879 30880 30881 |
# File 'lib/v20190612/models.rb', line 30879 def TextContent @TextContent end |
Instance Method Details
#deserialize(params) ⇒ Object
30889 30890 30891 30892 30893 30894 30895 |
# File 'lib/v20190612/models.rb', line 30889 def deserialize(params) @FontType = params['FontType'] @FontSize = params['FontSize'] @FontColor = params['FontColor'] @FontAlpha = params['FontAlpha'] @TextContent = params['TextContent'] end |