Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pixi/text

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/text - npm Package Compare versions

Comparing version 7.0.0-alpha to 7.0.0-alpha.2

4

dist/cjs/text.js
/*!
* @pixi/text - v7.0.0-alpha
* Compiled Fri, 09 Sep 2022 16:09:18 UTC
* @pixi/text - v7.0.0-alpha.2
* Compiled Sun, 18 Sep 2022 20:45:04 UTC
*

@@ -5,0 +5,0 @@ * @pixi/text is licensed under the MIT License.

"use strict";/*!
* @pixi/text - v7.0.0-alpha
* Compiled Fri, 09 Sep 2022 16:09:18 UTC
* @pixi/text - v7.0.0-alpha.2
* Compiled Sun, 18 Sep 2022 20:45:04 UTC
*

@@ -5,0 +5,0 @@ * @pixi/text is licensed under the MIT License.

@@ -65,6 +65,11 @@ import type { IDestroyOptions } from '@pixi/display';

* which can be generated [here](https://pixijs.io/pixi-text-style).
* @example
* import { Text } from 'pixi.js';
*
* ```js
* let text = new PIXI.Text('This is a PixiJS text',{fontFamily : 'Arial', fontSize: 24, fill : 0xff1010, align : 'center'});
* ```
* const text = new Text('This is a PixiJS text', {
* fontFamily : 'Arial',
* fontSize: 24,
* fill : 0xff1010,
* align : 'center',
* });
* @memberof PIXI

@@ -227,7 +232,12 @@ */

* The TextMetrics object represents the measurement of a block of text with a specified style.
* @example
* import { TextStyle, TextMetrics } from 'pixi.js';
*
* ```js
* let style = new PIXI.TextStyle({fontFamily : 'Arial', fontSize: 24, fill : 0xff1010, align : 'center'})
* let textMetrics = PIXI.TextMetrics.measureText('Your text', style)
* ```
* const style = new TextStyle({
* fontFamily: 'Arial',
* fontSize: 24,
* fill: 0xff1010,
* align: 'center',
* });
* const textMetrics = TextMetrics.measureText('Your text', style);
* @memberof PIXI

@@ -234,0 +244,0 @@ */

{
"name": "@pixi/text",
"version": "7.0.0-alpha",
"version": "7.0.0-alpha.2",
"main": "dist/cjs/text.js",

@@ -42,3 +42,3 @@ "module": "dist/esm/text.mjs",

],
"gitHead": "da993226df64b804a9c00ed9ee4d011191467b8a"
"gitHead": "439f6c1606ba63b26a93173284d25c35a7682b17"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc