Package org.robovm.apple.pencilkit
Class PKInkingTool
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.pencilkit.PKTool
org.robovm.apple.pencilkit.PKInkingTool
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PKInkingTool extends PKTool
- Since:
- Available in iOS 13.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPKInkingTool.PKInkingToolPtrNested 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 protectedPKInkingTool()protectedPKInkingTool(NSObject.Handle h, long handle)protectedPKInkingTool(NSObject.SkipInit skipInit)PKInkingTool(PKInk ink, double width)PKInkingTool(PKInkType type, UIColor color)PKInkingTool(PKInkType type, UIColor color, double width) -
Method Summary
Modifier and Type Method Description static UIColorconvertColor(UIColor color, UIUserInterfaceStyle fromUserInterfaceStyle, UIUserInterfaceStyle toUserInterfaceStyle)static doubledefaultWidthForInkType(PKInkType inkType)UIColorgetColor()PKInkgetInk()PKInkTypegetInkType()doublegetWidth()protected longinit(PKInk ink, double width)protected longinit(PKInkType type, UIColor color)protected longinit(PKInkType type, UIColor color, double width)static doublemaximumWidthForInkType(PKInkType inkType)static doubleminimumWidthForInkType(PKInkType inkType)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
-
PKInkingTool
protected PKInkingTool() -
PKInkingTool
-
PKInkingTool
-
PKInkingTool
-
PKInkingTool
-
PKInkingTool
- Since:
- Available in iOS 14.0 and later.
-
-
Method Details
-
getInkType
-
getColor
-
getWidth
public double getWidth() -
getInk
- Since:
- Available in iOS 14.0 and later.
-
init
-
init
-
init
- Since:
- Available in iOS 14.0 and later.
-
defaultWidthForInkType
-
minimumWidthForInkType
-
maximumWidthForInkType
-
convertColor
public static UIColor convertColor(UIColor color, UIUserInterfaceStyle fromUserInterfaceStyle, UIUserInterfaceStyle toUserInterfaceStyle)
-