File tree Expand file tree Collapse file tree
src/gameobjects/text/static Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1318,6 +1318,30 @@ var Text = new Class({
13181318 this . texture . destroy ( ) ;
13191319 }
13201320
1321+ /**
1322+ * The horizontal origin of this Game Object.
1323+ * The origin maps the relationship between the size and position of the Game Object.
1324+ * The default value is 0.5, meaning all Game Objects are positioned based on their center.
1325+ * Setting the value to 0 means the position now relates to the left of the Game Object.
1326+ *
1327+ * @name Phaser.GameObjects.Text#originX
1328+ * @type {number }
1329+ * @default 0
1330+ * @since 3.0.0
1331+ */
1332+
1333+ /**
1334+ * The vertical origin of this Game Object.
1335+ * The origin maps the relationship between the size and position of the Game Object.
1336+ * The default value is 0.5, meaning all Game Objects are positioned based on their center.
1337+ * Setting the value to 0 means the position now relates to the top of the Game Object.
1338+ *
1339+ * @name Phaser.GameObjects.Text#originY
1340+ * @type {number }
1341+ * @default 0
1342+ * @since 3.0.0
1343+ */
1344+
13211345} ) ;
13221346
13231347module . exports = Text ;
You can’t perform that action at this time.
0 commit comments