Class: DownloadImageParams
- Inherits:
-
Object
- Object
- DownloadImageParams
- Defined in:
- lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb
Instance Attribute Summary collapse
-
#convert_scales_to_dpi ⇒ Object
Returns the value of attribute convert_scales_to_dpi.
-
#convert_svg_to_vector ⇒ Object
Returns the value of attribute convert_svg_to_vector.
-
#folder_depth ⇒ Object
Returns the value of attribute folder_depth.
-
#image_components ⇒ Object
Returns the value of attribute image_components.
-
#include_frame_name ⇒ Object
Returns the value of attribute include_frame_name.
-
#include_page_name ⇒ Object
Returns the value of attribute include_page_name.
-
#naming_style ⇒ Object
Returns the value of attribute naming_style.
-
#output_folder ⇒ Object
Returns the value of attribute output_folder.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#xcassets_params ⇒ Object
Returns the value of attribute xcassets_params.
Instance Method Summary collapse
-
#initialize(image_components:, output_folder:, folder_depth:, output_format:, naming_style:, xcassets_params:, convert_svg_to_vector:, convert_scales_to_dpi:, include_page_name:, include_frame_name:) ⇒ DownloadImageParams
constructor
A new instance of DownloadImageParams.
Constructor Details
#initialize(image_components:, output_folder:, folder_depth:, output_format:, naming_style:, xcassets_params:, convert_svg_to_vector:, convert_scales_to_dpi:, include_page_name:, include_frame_name:) ⇒ DownloadImageParams
Returns a new instance of DownloadImageParams.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 8 def initialize( image_components:, output_folder:, folder_depth:, output_format:, naming_style:, xcassets_params:, convert_svg_to_vector:, convert_scales_to_dpi:, include_page_name:, include_frame_name: ) @image_components = image_components @output_folder = output_folder @folder_depth = folder_depth @output_format = output_format @naming_style = naming_style @xcassets_params = xcassets_params @convert_svg_to_vector = convert_svg_to_vector @convert_scales_to_dpi = convert_scales_to_dpi @include_page_name = include_page_name @include_frame_name = include_frame_name end |
Instance Attribute Details
#convert_scales_to_dpi ⇒ Object
Returns the value of attribute convert_scales_to_dpi.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def convert_scales_to_dpi @convert_scales_to_dpi end |
#convert_svg_to_vector ⇒ Object
Returns the value of attribute convert_svg_to_vector.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def convert_svg_to_vector @convert_svg_to_vector end |
#folder_depth ⇒ Object
Returns the value of attribute folder_depth.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def folder_depth @folder_depth end |
#image_components ⇒ Object
Returns the value of attribute image_components.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def image_components @image_components end |
#include_frame_name ⇒ Object
Returns the value of attribute include_frame_name.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def include_frame_name @include_frame_name end |
#include_page_name ⇒ Object
Returns the value of attribute include_page_name.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def include_page_name @include_page_name end |
#naming_style ⇒ Object
Returns the value of attribute naming_style.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def naming_style @naming_style end |
#output_folder ⇒ Object
Returns the value of attribute output_folder.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def output_folder @output_folder end |
#output_format ⇒ Object
Returns the value of attribute output_format.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def output_format @output_format end |
#xcassets_params ⇒ Object
Returns the value of attribute xcassets_params.
4 5 6 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/download_image_params.rb', line 4 def xcassets_params @xcassets_params end |