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

pixi-extended-graphics

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi-extended-graphics - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

24

dist/extendedGraphics.d.ts

@@ -6,7 +6,3 @@ import { Graphics } from 'pixi.js';

/**
* Adds a variety of utility functions to the base pixi.js graphics class.
* @remarks
*
* Enables support for dotted lines and more.
*
* Extends the pixi.js `Graphics` class with support for dotted lines.
* @example

@@ -33,4 +29,2 @@ * ```typescript

* ```
*
* @public
*/

@@ -51,6 +45,12 @@ export declare class ExtendedGraphics extends Graphics {

*
* @param @see PIXI.Geometry
* @param geometry - {@link https://pixijs.download/release/docs/PIXI.GraphicsGeometry.html | PIXI.GraphicsGeometry}
* @returns type and meaning of return value
*/
constructor(geometry?: GraphicsGeometry);
/**
* Same as `PIXI.Graphics.endFill()`, except when `this.dashedFill` is set to true. Otherwise,
* it is neccessary to call `endFill()` in order to make fills drawn with dashed lines appear.
*
* @returns This ExtendedGraphics object. Good for chaining method calls
*/
endFill(): this;

@@ -103,5 +103,9 @@ /**

/**
* Controls whether lines drawn with dashedLineTo are treated as solid with respect to fills **Only applies to dashed lines drawn while `dashedFill` is set to `true`.
* Controls whether lines drawn with dashedLineTo are treated as solid with respect to fills.
* Only applies to dashed lines drawn while `dashedFill` is set to `true`. **Fills made with
* dashed lines do not take effect until `ExtendedGraphics.endFill()` is called.**
*
* @remarks Internally, this is done by storing the instruction to draw each dashed line, and then drawing solid transparent lines underneath them all at once. May cause performance bottlenecks if drawing many dashed lines. Ensure your rendering environment supports transparency.
* @remarks Internally, this is done by storing the instruction to draw each dashed line,
* and then drawing solid transparent lines underneath them all at once. May cause performance bottlenecks
* if drawing many dashed lines. Ensure your rendering environment supports transparency.
*

@@ -108,0 +112,0 @@ */

{
"name": "pixi-extended-graphics",
"private": false,
"version": "0.2.2",
"version": "0.2.3",
"type": "module",

@@ -28,3 +28,4 @@ "main": "dist/extendedGraphics.js",

"pixi.js": "^7.2.4"
}
},
"files": ["dist"]
}

Sorry, the diff of this file is too big to display

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