diff --git a/Button.html b/Button.html index c7e3f478..69a3993d 100644 --- a/Button.html +++ b/Button.html @@ -1493,13 +1493,14 @@
const container = new Container();
const button = new Button(
new Graphics()
- .rect(0, 0, 100, 50, 15)
- .fill(0xFFFFFF)
+ .beginFill(0xFFFFFF)
+ .drawRoundedRect(0, 0, 100, 50, 15)
);
button.onPress.connect(() => console.log('onPress'));
- container.addChild(button.view);
+ container.addChild(button.view);
+ // or container.addChild(container); which is the same
@@ -3048,7 +3049,7 @@ const button = new ButtonContainer(
new Graphics()
- .fill(0xFFFFFF)
- .roundRect(0, 0, 100, 50, 15)
+ .beginFill(0xFFFFFF)
+ .drawRoundedRect(0, 0, 100, 50, 15)
);
button.onPress.connect(() => console.log('onPress'));
@@ -1421,7 +1421,7 @@ Extends
diff --git a/ButtonEvents.html b/ButtonEvents.html
index 11e06961..780be9c2 100644
--- a/ButtonEvents.html
+++ b/ButtonEvents.html
@@ -2568,7 +2568,7 @@
diff --git a/CheckBox.html b/CheckBox.html
index e7ce2754..e27af805 100644
--- a/CheckBox.html
+++ b/CheckBox.html
@@ -2884,7 +2884,7 @@
diff --git a/CircularProgressBar.html b/CircularProgressBar.html
index 78143067..e740187a 100644
--- a/CircularProgressBar.html
+++ b/CircularProgressBar.html
@@ -1420,7 +1420,7 @@
- ColorSource
+ number
@@ -1450,7 +1450,7 @@
- ColorSource
+ number
@@ -1953,7 +1953,7 @@
diff --git a/DoubleSlider.html b/DoubleSlider.html
index b520f123..e9379dbc 100644
--- a/DoubleSlider.html
+++ b/DoubleSlider.html
@@ -1417,8 +1417,8 @@
Sets height of a Sliders background and fill.
-If nineSliceSprite is set, then height will be set to nineSliceSprite.
-If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlane.
+If nineSlicePlane is not set, then height will control components height as Container.
@@ -2031,8 +2031,8 @@
Sets width of a Sliders background and fill.
-If nineSliceSprite is set, then width will be set to nineSliceSprite.
-If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlane.
+If nineSlicePlane is not set, then width will control components width as Container.
@@ -3170,7 +3170,7 @@
diff --git a/DragObject.html b/DragObject.html
index 5e8e172b..42699ee6 100644
--- a/DragObject.html
+++ b/DragObject.html
@@ -1360,7 +1360,7 @@ Extends
- - Container
+ - DisplayObject
@@ -1406,7 +1406,7 @@ Extends
diff --git a/FancyButton.html b/FancyButton.html
index 2e15146d..c82ba34a 100644
--- a/FancyButton.html
+++ b/FancyButton.html
@@ -3004,8 +3004,8 @@
Sets height of a FancyButtons state views.
-If nineSliceSprite is set, then height will be set to nineSliceSprites of a views.
-If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlanes of a views.
+If nineSlicePlane is not set, then height will control components height as Container.
@@ -4024,8 +4024,8 @@
Sets width of a FancyButtons state views.
-If nineSliceSprite is set, then width will be set to nineSliceSprites of a views.
-If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlanes of a views.
+If nineSlicePlane is not set, then width will control components width as Container.
@@ -5688,7 +5688,7 @@
diff --git a/Input.html b/Input.html
index f6c15542..b563f7ec 100644
--- a/Input.html
+++ b/Input.html
@@ -1430,7 +1430,7 @@
- PixiTextStyle
+ Partial<TextStyle>
@@ -1667,7 +1667,7 @@
- options.nineSliceSprite
+ options.nineSlicePlane
@@ -1681,7 +1681,7 @@
- NineSliceSprite values for bg and fill ([number, number, number, number]).
+ NineSlicePlane values for bg and fill ([number, number, number, number]).
@@ -1824,8 +1824,8 @@
Sets height of a Input.
-If nineSliceSprite is set, then height will be set to nineSliceSprite.
-If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlane.
+If nineSlicePlane is not set, then height will control components height as Container.
@@ -2392,8 +2392,8 @@
Sets width of a Input.
-If nineSliceSprite is set, then width will be set to nineSliceSprite.
-If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlane.
+If nineSlicePlane is not set, then width will control components width as Container.
@@ -2504,7 +2504,7 @@
diff --git a/List.html b/List.html
index e052a6c0..aa87e5eb 100644
--- a/List.html
+++ b/List.html
@@ -1362,12 +1362,12 @@ Example
const list = new List({
children: [
- new Graphics().rect(0, 0, 50, 50).fill(0x000000),
- new Graphics().rect(0, 0, 50, 50).fill(0xFFFFFF),
+ new Graphics().beginFill(0x000000).drawRect(0, 0, 50, 50),
+ new Graphics().beginFill(0xFFFFFF).drawRect(0, 0, 50, 50),
],
});
- list.addChild(new Graphics().rect(0, 0, 50, 50)).fill(0x000000);
+ list.addChild(new Graphics().beginFill(0x000000).drawRect(0, 0, 50, 50));
@@ -2847,7 +2847,7 @@ options.nineSliceSprite
options.nineSlicePlane
NineSliceSprite values for bg and fill.
+NineSlicePlane values for bg and fill.
options.nineSliceSprite.bg
options.nineSlicePlane.bg
NineSliceSprite config for bg ([number, number, number, number]).
+NineSlicePlane config for bg ([number, number, number, number]).
options.nineSliceSprite.fill
options.nineSlicePlane.fill
NineSliceSprite config fill ([number, number, number, number]).
+NineSlicePlane config fill ([number, number, number, number]).
Sets height of a ProgressBars background and fill. -If nineSliceSprite is set, then height will be set to nineSliceSprite. -If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlane. +If nineSlicePlane is not set, then height will control components height as Container.Sets width of a ProgressBars background and fill. -If nineSliceSprite is set, then width will be set to nineSliceSprite. -If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlane. +If nineSlicePlane is not set, then width will control components width as Container.Sets height of a Sliders background and fill. -If nineSliceSprite is set, then height will be set to nineSliceSprite. -If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlane. +If nineSlicePlane is not set, then height will control components height as Container.Sets width of a Sliders background and fill. -If nineSliceSprite is set, then width will be set to nineSliceSprite. -If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlane. +If nineSlicePlane is not set, then width will control components width as Container.Sets height of a ProgressBars background and fill. -If nineSliceSprite is set, then height will be set to nineSliceSprite. -If nineSliceSprite is not set, then height will control components height as Container.
+If nineSlicePlane is set, then height will be set to nineSlicePlane. +If nineSlicePlane is not set, then height will control components height as Container.Sets width of a ProgressBars background and fill. -If nineSliceSprite is set, then width will be set to nineSliceSprite. -If nineSliceSprite is not set, then width will control components width as Container.
+If nineSlicePlane is set, then width will be set to nineSlicePlane. +If nineSlicePlane is not set, then width will control components width as Container.We are now a part of the Open Collective and with your support you can help us make PixiJS even better. To make a donation, simply click the button below and we'll love you forever!
Depending on your version of PixiJS, you'll need to figure out which major version of PixiUI to use.
+Depending on your version of PixiJS, you'll need to figure out which major version of PixiJS UI to use.
PixiJS | -PixiUI | +PixiJS UI |
---|