Class: VivlioStarter::CLI::PreProcessCommands::ShowcaseSvgBuilder::ShowcaseBlock

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb

Overview

showcase ブロック 1 つ分。crop は [top, right, bottom, left](パーミル正規化済み)。

Instance Attribute Summary collapse

Instance Attribute Details

#altObject (readonly)

Returns the value of attribute alt

Returns:

  • (Object)

    the current value of alt



31
32
33
# File 'lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb', line 31

def alt
  @alt
end

#annotationsObject (readonly)

Returns the value of attribute annotations

Returns:

  • (Object)

    the current value of annotations



31
32
33
# File 'lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb', line 31

def annotations
  @annotations
end

#cropObject (readonly)

Returns the value of attribute crop

Returns:

  • (Object)

    the current value of crop



31
32
33
# File 'lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb', line 31

def crop
  @crop
end

#image_pathObject (readonly)

Returns the value of attribute image_path

Returns:

  • (Object)

    the current value of image_path



31
32
33
# File 'lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb', line 31

def image_path
  @image_path
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



31
32
33
# File 'lib/vivlio_starter/cli/pre_process/showcase_svg_builder.rb', line 31

def width
  @width
end