Package org.robovm.apple.pdfkit
Class PDFSelection
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.pdfkit.PDFSelection
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PDFSelection extends NSObject
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDFSelection.PDFSelectionPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description PDFSelection()protectedPDFSelection(NSObject.Handle h, long handle)protectedPDFSelection(NSObject.SkipInit skipInit)PDFSelection(PDFDocument document) -
Method Summary
Modifier and Type Method Description voidaddSelection(PDFSelection selection)voidaddSelections(NSArray<PDFSelection> selections)CGRectboundsForPage(PDFPage page)voiddraw(PDFPage page, boolean active)voiddraw(PDFPage page, PDFDisplayBox box, boolean active)voidextendSelectionAtEnd(long succeed)voidextendSelectionAtStart(long precede)voidextendSelectionForLineBoundaries()NSAttributedStringgetAttributedString()UIColorgetColor()NSArray<PDFPage>getPages()StringgetString()protected longinit(PDFDocument document)longnumberOfTextRangesOnPage(PDFPage page)NSRangerange(long index, PDFPage page)NSArray<PDFSelection>selectionsByLine()voidsetColor(UIColor v)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
PDFSelection
public PDFSelection() -
PDFSelection
-
PDFSelection
-
PDFSelection
- Since:
- Available in iOS 11.0 and later.
-
-
Method Details
-
getPages
-
getColor
- Since:
- Available in iOS 11.0 and later.
-
setColor
- Since:
- Available in iOS 11.0 and later.
-
getString
-
getAttributedString
-
init
- Since:
- Available in iOS 11.0 and later.
-
boundsForPage
-
numberOfTextRangesOnPage
- Since:
- Available in iOS 11.0 and later.
-
range
- Since:
- Available in iOS 11.0 and later.
-
selectionsByLine
- Since:
- Available in iOS 11.0 and later.
-
addSelection
-
addSelections
- Since:
- Available in iOS 11.0 and later.
-
extendSelectionAtEnd
public void extendSelectionAtEnd(long succeed) -
extendSelectionAtStart
public void extendSelectionAtStart(long precede) -
extendSelectionForLineBoundaries
public void extendSelectionForLineBoundaries()- Since:
- Available in iOS 11.0 and later.
-
draw
-
draw
-