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

@aurigma/text-whizz

Package Overview
Dependencies
Maintainers
5
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurigma/text-whizz - npm Package Compare versions

Comparing version 1.2.185 to 1.5.24

2

package.json
{
"version": "1.2.185",
"version": "1.5.24",
"name": "@aurigma/text-whizz",

@@ -4,0 +4,0 @@ "license": "SEE LICENSE IN License.md",

@@ -16,2 +16,10 @@ declare module "@aurigma/text-whizz/TextWhizzJS" {

}
export class StringMap
{
get(key: string): string;
set(key: string, value: string);
size(): number;
keys(): Collection<string>;
}

@@ -357,8 +365,8 @@ export interface FontInfo {

left,
right,
up,
down,
lineStart,
lineEnd,
textStart,
right,
up,
down,
lineStart,
lineEnd,
textStart,
textEnd,

@@ -782,2 +790,43 @@ leftWord,

draw(ctx: CanvasRenderingContext2D);
/**
* Gets a paragraph count in the text.
* @returns paragraph count.
*/
getParagraphCount(): number;
/**
* Sets new style for the paragraph.
* @param index paragraph index.
* @param ps paragraph style.
*/
setParagraphStyle(index: number, ps: ParagraphStyle);
/**
* Gets a paragraph style.
* @param index paragraph index.
* @returns paragraph style
*/
getParagraphStyle(index: number): ParagraphStyle;
/**
* Gets a paragraph text range.
* @param index paragraph index.
* @returns TextRange
*/
getParagraphTextRange(index: number): TextRange;
/**
* Gets a paragraph text range.
* @param index paragraph index.
* @returns TextRange
*/
setParagraphMetadata(index: number, metadata: StringMap);
/**
* Gets a paragraph text range.
* @param index paragraph index.
* @returns TextRange
*/
getParagraphMetadata(index: number): StringMap;
}

@@ -823,2 +872,8 @@

isValid(): boolean;
/**
* Gets the index of the paragraph
* @returns 0 based index
*/
getParagraphIndex(): number;
}

@@ -957,2 +1012,7 @@

export class ArchedTextFrame extends TextFrame {
center : PointF;
bend : number;
}
export enum PathTextAlignment {

@@ -1112,3 +1172,3 @@ ascender,

*/
function getVersion(): string;
function getVersion(): string;
}

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