BucketFront¶
Overview¶
The front of a bucket (does not include the hole)
@author Jonathan Olson
Class BucketFront¶
Constructor¶
new BucketFront( bucket : Bucket, modelViewTransform : ModelViewTransform2, providedOptions? : BucketFrontOptions )¶
Instance Methods¶
setLabel( labelNode : Node )¶
Set a scenery node to appear in front of the bucket.
dispose()¶
Instance Properties¶
bucket : Bucket¶
(readonly)
Type BucketFrontOptions¶
- labelNode?: Node
- & NodeOptions
Source Code¶
See the source for BucketFront.ts in the scenery-phet repository.