AsposeSlidesCloud-SlidesApi
view release on metacpan or search on metacpan
lib/AsposeSlidesCloud/Object/ChartTitle.pm view on Meta::CPAN
my $args_key = $class->attribute_map->{$attribute};
$self->$attribute( $args{ $args_key } );
}
return $self;
}
# used by JSON for serialization
sub TO_JSON {
my $self = shift;
my $_data = {};
foreach my $_key (keys %{$self->attribute_map}) {
if (defined $self->{$_key}) {
$_data->{$self->attribute_map->{$_key}} = $self->{$_key};
}
}
return $_data;
}
__PACKAGE__->class_documentation({description => 'Represents chart title',
class => 'ChartTitle',
required => [], # TODO
} );
__PACKAGE__->method_documentation({
'text' => {
datatype => 'string',
base_name => 'Text',
description => 'Get or sets the text.',
format => '',
read_only => '',
},
'x' => {
datatype => 'double',
base_name => 'X',
description => 'the X location',
format => '',
read_only => '',
},
'y' => {
datatype => 'double',
base_name => 'Y',
description => 'the Y location',
format => '',
read_only => '',
},
'width' => {
datatype => 'double',
base_name => 'Width',
description => 'Width',
format => '',
read_only => '',
},
'height' => {
datatype => 'double',
base_name => 'Height',
description => 'Height',
format => '',
read_only => '',
},
'overlay' => {
datatype => 'boolean',
base_name => 'Overlay',
description => 'true if other elements are allowed to overlay the legend',
format => '',
read_only => '',
},
'fill_format' => {
datatype => 'FillFormat',
base_name => 'FillFormat',
description => 'Get or sets the fill format.',
format => '',
read_only => '',
},
'effect_format' => {
datatype => 'EffectFormat',
base_name => 'EffectFormat',
description => 'Get or sets the effect format.',
format => '',
read_only => '',
},
'line_format' => {
datatype => 'LineFormat',
base_name => 'LineFormat',
description => 'Get or sets the line format.',
format => '',
read_only => '',
},
});
__PACKAGE__->swagger_types( {
'text' => 'string',
'x' => 'double',
'y' => 'double',
'width' => 'double',
'height' => 'double',
'overlay' => 'boolean',
'fill_format' => 'FillFormat',
'effect_format' => 'EffectFormat',
'line_format' => 'LineFormat'
} );
__PACKAGE__->attribute_map( {
'text' => 'Text',
'x' => 'X',
'y' => 'Y',
'width' => 'Width',
'height' => 'Height',
'overlay' => 'Overlay',
'fill_format' => 'FillFormat',
'effect_format' => 'EffectFormat',
'line_format' => 'LineFormat'
} );
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
1;
( run in 1.722 second using v1.01-cache-2.11-cpan-39bf76dae61 )