Package apple.spritekit
Class SKShapeNode
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.spritekit.SKNode
-
- apple.spritekit.SKShapeNode
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject,UIFocusEnvironment,UIFocusItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIUserActivityRestoring
public class SKShapeNode extends SKNode
A SpriteKit Node used to stroke or fill a shape. CGPaths are used to supply the path. See CGPath reference pages for details on how to construct a CGPath.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.spritekit.SKNode
SKNode.Block_enumerateChildNodesWithNameUsingBlock, SKNode.Block_runActionCompletion
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSKShapeNode(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static SKShapeNodealloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)NSDictionary<java.lang.String,? extends SKAttributeValue>attributeValues()Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)longblendMode()Sets the blend mode to use when composing the shape with the final framebuffer.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()UIColorfillColor()The color to fill the path with.SKShaderfillShader()An optional SKShader used for the filling the ShapeSKTexturefillTexture()An optional Texture used for the filling the ShapedoubleglowWidth()Add a glow to the path stroke of the specified width.static longhash_static()SKShapeNodeinit()SKShapeNodeinitWithCoder(NSCoder aDecoder)NS_DESIGNATED_INITIALIZERstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisAntialiased()If set to YES, the path stroke edges and caps is smoothed (antialiased) when drawn.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)intlineCap()The cap type that should be used when stroking a non-closed pathintlineJoin()The join type that should be used when stroking a pathdoublelineLength()The length of the node's path if it were to be strokeddoublelineWidth()The width used to stroke the path.doublemiterLimit()When a miter join is used, the maximum ratio of miter length to line with to be usedstatic java.lang.Objectnew_objc()static SKShapeNodenode()static SKShapeNodenodeWithFileNamed(java.lang.String filename)static SKShapeNodenodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename, NSSet<? extends org.moe.natj.objc.Class> classes, org.moe.natj.general.ptr.Ptr<NSError> error)static NSArray<? extends GKPolygonObstacle>obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)static NSArray<? extends GKPolygonObstacle>obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)static NSArray<? extends GKPolygonObstacle>obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites, float accuracy)CGPathRefpath()The CGPath to be drawn (in the Node's coordinate space)static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAntialiased(boolean value)If set to YES, the path stroke edges and caps is smoothed (antialiased) when drawn.voidsetAttributeValues(NSDictionary<java.lang.String,? extends SKAttributeValue> value)Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.voidsetBlendMode(long value)Sets the blend mode to use when composing the shape with the final framebuffer.voidsetFillColor(UIColor value)The color to fill the path with.voidsetFillShader(SKShader value)An optional SKShader used for the filling the ShapevoidsetFillTexture(SKTexture value)An optional Texture used for the filling the ShapevoidsetGlowWidth(double value)Add a glow to the path stroke of the specified width.voidsetLineCap(int value)The cap type that should be used when stroking a non-closed pathvoidsetLineJoin(int value)The join type that should be used when stroking a pathvoidsetLineWidth(double value)The width used to stroke the path.voidsetMiterLimit(double value)When a miter join is used, the maximum ratio of miter length to line with to be usedvoidsetPath(CGPathRef value)The CGPath to be drawn (in the Node's coordinate space)voidsetStrokeColor(UIColor value)The color to draw the path with.voidsetStrokeShader(SKShader value)An optional SKShader used for the Shape's Stroke.voidsetStrokeTexture(SKTexture value)An optional Texture used for the Shape's stroke.voidsetValueForAttributeNamed(SKAttributeValue value, java.lang.String key)static voidsetVersion_static(long aVersion)static SKShapeNodeshapeNodeWithCircleOfRadius(double radius)Create a Shape Node representing an circle centered at the Node's origin.static SKShapeNodeshapeNodeWithEllipseInRect(CGRect rect)Create a Shape Node representing an Ellipse inscribed within a Rectstatic SKShapeNodeshapeNodeWithEllipseOfSize(CGSize size)Create a Shape Node representing an Ellipse inscribed within a Rect centered at the Node's origin.static SKShapeNodeshapeNodeWithPath(CGPathRef path)Create a Shape Node using a CGPathRef, optionally centered at the Node's origin.static SKShapeNodeshapeNodeWithPathCentered(CGPathRef path, boolean centered)static SKShapeNodeshapeNodeWithPointsCount(org.moe.natj.general.ptr.Ptr<CGPoint> points, long numPoints)Create a Shape Node representing an a series of Points interpreted as line segmentsstatic SKShapeNodeshapeNodeWithRect(CGRect rect)Create a Shape Node representing a Rect.static SKShapeNodeshapeNodeWithRectCornerRadius(CGRect rect, double cornerRadius)Create a Shape Node representing a rounded rect with a corner radiusstatic SKShapeNodeshapeNodeWithRectOfSize(CGSize size)Create a Shape Node representing a rect centered at the Node's origin.static SKShapeNodeshapeNodeWithRectOfSizeCornerRadius(CGSize size, double cornerRadius)Create a Shape Node representing a rounded rect with a corner radius centered at the Node's origin.static SKShapeNodeshapeNodeWithSplinePointsCount(org.moe.natj.general.ptr.Ptr<CGPoint> points, long numPoints)Create a Shape Node representing a smoothed spline that passes through a series of PointsUIColorstrokeColor()The color to draw the path with.SKShaderstrokeShader()An optional SKShader used for the Shape's Stroke.SKTexturestrokeTexture()An optional Texture used for the Shape's stroke.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()SKAttributeValuevalueForAttributeNamed(java.lang.String key)static longversion_static()-
Methods inherited from class apple.spritekit.SKNode
actionForKey, addChild, alpha, calculateAccumulatedFrame, canBecomeFocused, childNodeWithName, children, constraints, containsPoint, convertPointFromNode, convertPointToNode, copyWithZone, didHintFocusMovement, didUpdateFocusInContextWithAnimationCoordinator, encodeWithCoder, entity, enumerateChildNodesWithNameUsingBlock, focusBehavior, focusGroupIdentifier, focusItemContainer, frame, hasActions, inParentHierarchy, insertChildAtIndex, intersectsNode, isEqualToNode, isHidden, isPaused, isUserInteractionEnabled, moveToParent, name, nodeAtPoint, nodesAtPoint, objectForKeyedSubscript, parent, parentFocusEnvironment, physicsBody, position, preferredFocusedView, preferredFocusEnvironments, reachConstraints, removeActionForKey, removeAllActions, removeAllChildren, removeChildrenInArray, removeFromParent, runAction, runActionCompletion, runActionWithKey, scene, setAlpha, setConstraints, setEntity, setEntity_unsafe, setFocusBehavior, setHidden, setName, setNeedsFocusUpdate, setPaused, setPhysicsBody, setPosition, setReachConstraints, setScale, setSpeed, setUserData, setUserInteractionEnabled, setXScale, setYScale, setZPosition, setZRotation, shouldUpdateFocusInContext, speed, updateFocusIfNeeded, userData, xScale, yScale, zPosition, zRotation
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static SKShapeNode alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
node
public static SKShapeNode node()
-
nodeWithFileNamed
public static SKShapeNode nodeWithFileNamed(java.lang.String filename)
-
obstaclesFromNodeBounds
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)
-
obstaclesFromNodePhysicsBodies
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)
-
obstaclesFromSpriteTexturesAccuracy
public static NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites, float accuracy)
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
shapeNodeWithCircleOfRadius
public static SKShapeNode shapeNodeWithCircleOfRadius(double radius)
Create a Shape Node representing an circle centered at the Node's origin.
-
shapeNodeWithEllipseInRect
public static SKShapeNode shapeNodeWithEllipseInRect(CGRect rect)
Create a Shape Node representing an Ellipse inscribed within a Rect
-
shapeNodeWithEllipseOfSize
public static SKShapeNode shapeNodeWithEllipseOfSize(CGSize size)
Create a Shape Node representing an Ellipse inscribed within a Rect centered at the Node's origin.
-
shapeNodeWithPath
public static SKShapeNode shapeNodeWithPath(CGPathRef path)
Create a Shape Node using a CGPathRef, optionally centered at the Node's origin.
-
shapeNodeWithPathCentered
public static SKShapeNode shapeNodeWithPathCentered(CGPathRef path, boolean centered)
-
shapeNodeWithPointsCount
public static SKShapeNode shapeNodeWithPointsCount(org.moe.natj.general.ptr.Ptr<CGPoint> points, long numPoints)
Create a Shape Node representing an a series of Points interpreted as line segments
-
shapeNodeWithRect
public static SKShapeNode shapeNodeWithRect(CGRect rect)
Create a Shape Node representing a Rect.
-
shapeNodeWithRectCornerRadius
public static SKShapeNode shapeNodeWithRectCornerRadius(CGRect rect, double cornerRadius)
Create a Shape Node representing a rounded rect with a corner radius
-
shapeNodeWithRectOfSize
public static SKShapeNode shapeNodeWithRectOfSize(CGSize size)
Create a Shape Node representing a rect centered at the Node's origin.
-
shapeNodeWithRectOfSizeCornerRadius
public static SKShapeNode shapeNodeWithRectOfSizeCornerRadius(CGSize size, double cornerRadius)
Create a Shape Node representing a rounded rect with a corner radius centered at the Node's origin.
-
shapeNodeWithSplinePointsCount
public static SKShapeNode shapeNodeWithSplinePointsCount(org.moe.natj.general.ptr.Ptr<CGPoint> points, long numPoints)
Create a Shape Node representing a smoothed spline that passes through a series of Points
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
attributeValues
public NSDictionary<java.lang.String,? extends SKAttributeValue> attributeValues()
Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.- Overrides:
attributeValuesin classSKNode
-
blendMode
public long blendMode()
Sets the blend mode to use when composing the shape with the final framebuffer.- See Also:
SKNode.SKBlendMode
-
fillColor
public UIColor fillColor()
The color to fill the path with. Defaults to [SKColor clearColor] (no fill).
-
fillShader
public SKShader fillShader()
An optional SKShader used for the filling the Shape
-
fillTexture
public SKTexture fillTexture()
An optional Texture used for the filling the Shape
-
glowWidth
public double glowWidth()
Add a glow to the path stroke of the specified width. Defaults to 0.0 (no glow)
-
init
public SKShapeNode init()
-
initWithCoder
public SKShapeNode initWithCoder(NSCoder aDecoder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classSKNode
-
isAntialiased
public boolean isAntialiased()
If set to YES, the path stroke edges and caps is smoothed (antialiased) when drawn.
-
setAntialiased
public void setAntialiased(boolean value)
If set to YES, the path stroke edges and caps is smoothed (antialiased) when drawn.
-
lineCap
public int lineCap()
The cap type that should be used when stroking a non-closed path
-
lineJoin
public int lineJoin()
The join type that should be used when stroking a path
-
lineLength
public double lineLength()
The length of the node's path if it were to be stroked
-
lineWidth
public double lineWidth()
The width used to stroke the path. Widths larger than 2.0 may result in artifacts. Defaults to 1.0.
-
miterLimit
public double miterLimit()
When a miter join is used, the maximum ratio of miter length to line with to be used
-
path
public CGPathRef path()
The CGPath to be drawn (in the Node's coordinate space)
-
setAttributeValues
public void setAttributeValues(NSDictionary<java.lang.String,? extends SKAttributeValue> value)
Optional dictionary of SKAttributeValues Attributes can be used with custom SKShaders.- Overrides:
setAttributeValuesin classSKNode
-
setBlendMode
public void setBlendMode(long value)
Sets the blend mode to use when composing the shape with the final framebuffer.- See Also:
SKNode.SKBlendMode
-
setFillColor
public void setFillColor(UIColor value)
The color to fill the path with. Defaults to [SKColor clearColor] (no fill).
-
setFillShader
public void setFillShader(SKShader value)
An optional SKShader used for the filling the Shape
-
setFillTexture
public void setFillTexture(SKTexture value)
An optional Texture used for the filling the Shape
-
setGlowWidth
public void setGlowWidth(double value)
Add a glow to the path stroke of the specified width. Defaults to 0.0 (no glow)
-
setLineCap
public void setLineCap(int value)
The cap type that should be used when stroking a non-closed path
-
setLineJoin
public void setLineJoin(int value)
The join type that should be used when stroking a path
-
setLineWidth
public void setLineWidth(double value)
The width used to stroke the path. Widths larger than 2.0 may result in artifacts. Defaults to 1.0.
-
setMiterLimit
public void setMiterLimit(double value)
When a miter join is used, the maximum ratio of miter length to line with to be used
-
setPath
public void setPath(CGPathRef value)
The CGPath to be drawn (in the Node's coordinate space)
-
setStrokeColor
public void setStrokeColor(UIColor value)
The color to draw the path with. (for no stroke use [SKColor clearColor]). Defaults to [SKColor whiteColor].
-
setStrokeShader
public void setStrokeShader(SKShader value)
An optional SKShader used for the Shape's Stroke.
-
setStrokeTexture
public void setStrokeTexture(SKTexture value)
An optional Texture used for the Shape's stroke.
-
setValueForAttributeNamed
public void setValueForAttributeNamed(SKAttributeValue value, java.lang.String key)
- Overrides:
setValueForAttributeNamedin classSKNode
-
strokeColor
public UIColor strokeColor()
The color to draw the path with. (for no stroke use [SKColor clearColor]). Defaults to [SKColor whiteColor].
-
strokeShader
public SKShader strokeShader()
An optional SKShader used for the Shape's Stroke.
-
strokeTexture
public SKTexture strokeTexture()
An optional Texture used for the Shape's stroke.
-
valueForAttributeNamed
public SKAttributeValue valueForAttributeNamed(java.lang.String key)
- Overrides:
valueForAttributeNamedin classSKNode
-
nodeWithFileNamedSecurelyWithClassesAndError
public static SKShapeNode nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename, NSSet<? extends org.moe.natj.objc.Class> classes, org.moe.natj.general.ptr.Ptr<NSError> error)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classSKNode
-
-