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)


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

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:



864
865
866
# File 'sig/types.rbs', line 864

def bbox
  @bbox
end

#colInteger (readonly)

Returns the value of attribute col.

Returns:

  • (Integer)


860
861
862
# File 'sig/types.rbs', line 860

def col
  @col
end

#col_spanInteger (readonly)

Returns the value of attribute col_span.

Returns:

  • (Integer)


862
863
864
# File 'sig/types.rbs', line 862

def col_span
  @col_span
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


858
859
860
# File 'sig/types.rbs', line 858

def content
  @content
end

#is_headerBoolean (readonly)

Returns the value of attribute is_header.

Returns:

  • (Boolean)


863
864
865
# File 'sig/types.rbs', line 863

def is_header
  @is_header
end

#rowInteger (readonly)

Returns the value of attribute row.

Returns:

  • (Integer)


859
860
861
# File 'sig/types.rbs', line 859

def row
  @row
end

#row_spanInteger (readonly)

Returns the value of attribute row_span.

Returns:

  • (Integer)


861
862
863
# File 'sig/types.rbs', line 861

def row_span
  @row_span
end