Class: Xberg::PdfAnnotation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePdfAnnotation

Returns a new instance of PdfAnnotation.

Parameters:

  • annotation_type: (enum_PdfAnnotationType)
  • content: (String)
  • page_number: (Integer)
  • bounding_box: (BoundingBox)
  • author: (String)
  • modified: (String)
  • color: (String)
  • subject: (String)
  • quad_points: (Array[BoundingBox])
  • marked_text: (String)


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

def initialize: (annotation_type: enum_PdfAnnotationType, ?content: String, page_number: Integer, ?bounding_box: BoundingBox, ?author: String, ?modified: String, ?color: String, ?subject: String, ?quad_points: Array[BoundingBox], ?marked_text: String) -> void

Instance Attribute Details

#annotation_typeenum_PdfAnnotationType (readonly)

Returns the value of attribute annotation_type.

Returns:

  • (enum_PdfAnnotationType)


1998
1999
2000
# File 'sig/types.rbs', line 1998

def annotation_type
  @annotation_type
end

#authorString? (readonly)

Returns the value of attribute author.

Returns:

  • (String, nil)


2002
2003
2004
# File 'sig/types.rbs', line 2002

def author
  @author
end

#bounding_boxBoundingBox? (readonly)

Returns the value of attribute bounding_box.

Returns:



2001
2002
2003
# File 'sig/types.rbs', line 2001

def bounding_box
  @bounding_box
end

#colorString? (readonly)

Returns the value of attribute color.

Returns:

  • (String, nil)


2004
2005
2006
# File 'sig/types.rbs', line 2004

def color
  @color
end

#contentString? (readonly)

Returns the value of attribute content.

Returns:

  • (String, nil)


1999
2000
2001
# File 'sig/types.rbs', line 1999

def content
  @content
end

#marked_textString? (readonly)

Returns the value of attribute marked_text.

Returns:

  • (String, nil)


2007
2008
2009
# File 'sig/types.rbs', line 2007

def marked_text
  @marked_text
end

#modifiedString? (readonly)

Returns the value of attribute modified.

Returns:

  • (String, nil)


2003
2004
2005
# File 'sig/types.rbs', line 2003

def modified
  @modified
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


2000
2001
2002
# File 'sig/types.rbs', line 2000

def page_number
  @page_number
end

#quad_pointsArray[BoundingBox]? (readonly)

Returns the value of attribute quad_points.

Returns:



2006
2007
2008
# File 'sig/types.rbs', line 2006

def quad_points
  @quad_points
end

#subjectString? (readonly)

Returns the value of attribute subject.

Returns:

  • (String, nil)


2005
2006
2007
# File 'sig/types.rbs', line 2005

def subject
  @subject
end