Package org.robovm.apple.spritekit
Class SKShapeNode
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIResponder
-
- org.robovm.apple.spritekit.SKNode
-
- org.robovm.apple.spritekit.SKShapeNode
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,UIAccessibility
,UIFocusEnvironment
,UIFocusItem
,org.robovm.objc.ObjCProtocol
public class SKShapeNode extends SKNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKShapeNode.SKShapeNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.spritekit.SKNode
SKNode.SKNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
Nested classes/interfaces inherited from class org.robovm.objc.ObjCObject
org.robovm.objc.ObjCObject.ObjCObjectPtr, org.robovm.objc.ObjCObject.Super
-
Nested classes/interfaces inherited from interface org.robovm.apple.uikit.UIAccessibility
UIAccessibility.Notifications
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SKShapeNode()
SKShapeNode(NSCoder decoder)
protected
SKShapeNode(NSObject.Handle h, long handle)
protected
SKShapeNode(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.spritekit.SKNode
addChild, calculateAccumulatedFrame, canBecomeFocused, containsPoint, convertPointFromNode, convertPointToNode, create, create, didHintFocusMovement, didUpdateFocus, encode, enumerateChildNodes, equalsTo, findNodesByName, getAction, getAlpha, getChild, getChildren, getConstraints, getFocusBehavior, getFocusItemContainer, getFrame, getName, getNodeAtPoint, getNodesAtPoint, getParent, getParentFocusEnvironment, getPhysicsBody, getPosition, getPreferredFocusedView, getPreferredFocusEnvironments, getReachConstraints, getScene, getSpeed, getUserData, getXScale, getYScale, getZPosition, getZRotation, hasActions, init, insertChild, intersectsNode, isHidden, isInParentHierarchy, isPaused, isUserInteractionEnabled, moveToParent, removeAction, removeAllActions, removeAllChildren, removeChildren, removeFromParent, runAction, runAction, runAction, setAlpha, setConstraints, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocus, supportsSecureCoding, updateFocusIfNeeded
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
SKShapeNode
public SKShapeNode()
-
SKShapeNode
protected SKShapeNode(NSObject.Handle h, long handle)
-
SKShapeNode
protected SKShapeNode(NSObject.SkipInit skipInit)
-
SKShapeNode
public SKShapeNode(NSCoder decoder)
-
-
Method Detail
-
getPath
public CGPath getPath()
-
setPath
public void setPath(CGPath v)
-
getStrokeColor
public UIColor getStrokeColor()
-
setStrokeColor
public void setStrokeColor(UIColor v)
-
getFillColor
public UIColor getFillColor()
-
setFillColor
public void setFillColor(UIColor v)
-
getBlendMode
public SKBlendMode getBlendMode()
-
setBlendMode
public void setBlendMode(SKBlendMode v)
-
isAntialiased
public boolean isAntialiased()
-
setAntialiased
public void setAntialiased(boolean v)
-
getLineWidth
public double getLineWidth()
-
setLineWidth
public void setLineWidth(double v)
-
getGlowWidth
public double getGlowWidth()
-
setGlowWidth
public void setGlowWidth(double v)
-
getLineCap
public CGLineCap getLineCap()
-
setLineCap
public void setLineCap(CGLineCap v)
-
getLineJoin
public CGLineJoin getLineJoin()
-
setLineJoin
public void setLineJoin(CGLineJoin v)
-
getMiterLimit
public double getMiterLimit()
-
setMiterLimit
public void setMiterLimit(double v)
-
getLineLength
public double getLineLength()
-
getFillTexture
public SKTexture getFillTexture()
- Since:
- Available in iOS 8.0 and later.
-
setFillTexture
public void setFillTexture(SKTexture v)
- Since:
- Available in iOS 8.0 and later.
-
getFillShader
public SKShader getFillShader()
- Since:
- Available in iOS 8.0 and later.
-
setFillShader
public void setFillShader(SKShader v)
- Since:
- Available in iOS 8.0 and later.
-
getStrokeTexture
public SKTexture getStrokeTexture()
- Since:
- Available in iOS 8.0 and later.
-
setStrokeTexture
public void setStrokeTexture(SKTexture v)
- Since:
- Available in iOS 8.0 and later.
-
getStrokeShader
public SKShader getStrokeShader()
- Since:
- Available in iOS 8.0 and later.
-
setStrokeShader
public void setStrokeShader(SKShader v)
- Since:
- Available in iOS 8.0 and later.
-
getAttributeValues
public NSDictionary<NSString,SKAttributeValue> getAttributeValues()
- Overrides:
getAttributeValues
in classSKNode
- Since:
- Available in iOS 10.0 and later.
-
setAttributeValues
public void setAttributeValues(NSDictionary<NSString,SKAttributeValue> v)
- Overrides:
setAttributeValues
in classSKNode
- Since:
- Available in iOS 10.0 and later.
-
valueForAttributeNamed
public SKAttributeValue valueForAttributeNamed(java.lang.String key)
- Overrides:
valueForAttributeNamed
in classSKNode
- Since:
- Available in iOS 10.0 and later.
-
setValue
public void setValue(SKAttributeValue value, java.lang.String key)
-
createPath
public static SKShapeNode createPath(CGPath path)
- Since:
- Available in iOS 8.0 and later.
-
createPath
public static SKShapeNode createPath(CGPath path, boolean centered)
- Since:
- Available in iOS 8.0 and later.
-
createRect
public static SKShapeNode createRect(CGRect rect)
- Since:
- Available in iOS 8.0 and later.
-
createRect
public static SKShapeNode createRect(CGSize size)
- Since:
- Available in iOS 8.0 and later.
-
createRect
public static SKShapeNode createRect(CGRect rect, double cornerRadius)
- Since:
- Available in iOS 8.0 and later.
-
createRect
public static SKShapeNode createRect(CGSize size, double cornerRadius)
- Since:
- Available in iOS 8.0 and later.
-
createCircle
public static SKShapeNode createCircle(double radius)
- Since:
- Available in iOS 8.0 and later.
-
createEllipse
public static SKShapeNode createEllipse(CGRect rect)
- Since:
- Available in iOS 8.0 and later.
-
createEllipse
public static SKShapeNode createEllipse(CGSize size)
- Since:
- Available in iOS 8.0 and later.
-
createWithPoints
public static SKShapeNode createWithPoints(CGPoint points, long numPoints)
- Since:
- Available in iOS 8.0 and later.
-
createWithSplinePoints
public static SKShapeNode createWithSplinePoints(CGPoint points, long numPoints)
- Since:
- Available in iOS 8.0 and later.
-
-