GroupLayerpublic abstract class ClippedLayer extends Layer
x, y coordinate (as adjusted by its origin) extended to the layer's
scaled width and height.
NOTE: clipping rectangles cannot be rotated. If the layer has a rotation, the clipping region will be undefined (and most certainly wacky).
react.Closeable.Set, react.Closeable.UtilLayer.HitTester, Layer.Origin, Layer.State, Layer.VisitorDEBUG_RECTS, state| Constructor | Description |
|---|---|
ClippedLayer(float width,
float height) |
| Modifier and Type | Method | Description |
|---|---|---|
float |
height() |
Returns the height of this layer.
|
ClippedLayer |
setHeight(float height) |
Updates the height of this group layer, and hence its clipping rectangle.
|
ClippedLayer |
setSize(float width,
float height) |
Updates the size of this clipped layer, and hence its clipping rectangle.
|
ClippedLayer |
setSize(pythagoras.f.IDimension size) |
Updates the size of this clipped layer, and hence its clipping rectangle.
|
ClippedLayer |
setWidth(float width) |
Updates the width of this group layer, and hence its clipping rectangle.
|
float |
width() |
Returns the width of this layer.
|
absorbHits, alpha, close, debugPrint, depth, disposed, events, hasEventListeners, hitTest, hitTestDefault, interactive, name, onAdded, onDisposed, onRemoved, origin, origin, originX, originY, paint, parent, rotation, scale, scaledHeight, scaledWidth, scaleX, scaleY, setAlpha, setBatch, setDepth, setHitTester, setInteractive, setName, setOrigin, setOrigin, setRotation, setScale, setScale, setScaleX, setScaleY, setTint, setTranslation, setTranslation, setTx, setTy, setVisible, tint, toString, transform, translation, translation, tx, ty, visible, visitpublic float width()
Layerpublic float height()
Layerpublic ClippedLayer setSize(float width, float height)
public ClippedLayer setSize(pythagoras.f.IDimension size)
public ClippedLayer setWidth(float width)
public ClippedLayer setHeight(float height)
Copyright © 2018. All Rights Reserved.