Class: Xberg::GridCell

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGridCell

Returns a new instance of GridCell.

Parameters:

  • content: (String)
  • row: (Integer)
  • col: (Integer)
  • row_span: (Integer)
  • col_span: (Integer)
  • is_header: (Boolean)
  • bbox: (BoundingBox)


897
# File 'sig/types.rbs', line 897

def initialize: (content: String, row: Integer, col: Integer, row_span: Integer, col_span: Integer, is_header: bool, ?bbox: BoundingBox) -> void

Instance Attribute Details

#bboxBoundingBox (readonly)

Returns the value of attribute bbox.

Returns:



895
896
897
# File 'sig/types.rbs', line 895

def bbox
  @bbox
end

#colInteger (readonly)

Returns the value of attribute col.

Returns:

  • (Integer)


891
892
893
# File 'sig/types.rbs', line 891

def col
  @col
end

#col_spanInteger (readonly)

Returns the value of attribute col_span.

Returns:

  • (Integer)


893
894
895
# File 'sig/types.rbs', line 893

def col_span
  @col_span
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


889
890
891
# File 'sig/types.rbs', line 889

def content
  @content
end

#is_headerBoolean (readonly)

Returns the value of attribute is_header.

Returns:

  • (Boolean)


894
895
896
# File 'sig/types.rbs', line 894

def is_header
  @is_header
end

#rowInteger (readonly)

Returns the value of attribute row.

Returns:

  • (Integer)


890
891
892
# File 'sig/types.rbs', line 890

def row
  @row
end

#row_spanInteger (readonly)

Returns the value of attribute row_span.

Returns:

  • (Integer)


892
893
894
# File 'sig/types.rbs', line 892

def row_span
  @row_span
end