MCPcopy Index your code
hub / github.com/phaserjs/phaser / makeOut

Function makeOut

tests/gameobjects/bitmaptext/GetBitmapTextSize.test.js:51–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50// Helper to create a structured out object matching the default shape
51function makeOut ()
52{
53 return {
54 local: { x: 0, y: 0, width: 0, height: 0 },
55 global: { x: 0, y: 0, width: 0, height: 0 },
56 lines: { shortest: 0, longest: 0, lengths: null, height: 0 },
57 wrappedText: '',
58 words: [],
59 characters: [],
60 scaleX: 0,
61 scaleY: 0
62 };
63}
64
65describe('GetBitmapTextSize', function ()
66{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…