GithubHelp home page GithubHelp logo

pixijs / pixi-text-style Goto Github PK

View Code? Open in Web Editor NEW
30.0 6.0 9.0 1.14 MB

PIXI.TextStyle Generator

Home Page: https://pixijs.io/pixi-text-style

CSS 6.99% HTML 3.44% JavaScript 89.57%
pixijs text editor tool html5-canvas

pixi-text-style's Introduction

pixi-text-style's People

Contributors

bigtimebuddy avatar dependabot[bot] avatar themoonrat avatar thewyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pixi-text-style's Issues

Able to select multiple fonts

Right now, fallback fonts have to be contained within the single entry in the drop down box.
It would be great if you could add more fonts via additional drop down boxes (a bit like how adding gradient stops work).

Add gradients

Please add gradients and make fill colors editable to support rgba or number values.

some proposition

first, thank, your tool are awsome!
i have some sugest,

  • dropShadowAlpha are not decimal. increase by (0.1)

  • **Color piker ** for fill and strok,
    https://itsjavi.com/bootstrap-colorpicker/

  • Add parent and child container to place pixi.text in a container , for easy see som align and achor engine
    able to set bg color for container and widh heigth.
    container, not affect the code

inLine code format

hi frien, this its just a low priority proposition.
Add a case to get code in one line (compressed)

example:

const style = new PIXI.TextStyle({
    dropShadow: true,
    dropShadowAlpha: 0.2,
    dropShadowAngle: 0.4,
    dropShadowBlur: 2,
    dropShadowDistance: 3,
    fill: 'white',
    fontSize: 14,
    letterSpacing: 1,
    lineJoin: 'round',
    strokeThickness: 3
});

to a copy past like thats
var style = new PIXI.TextStyle({ dropShadow: true, dropShadowAlpha: 0.2, dropShadowAngle: 0.4, dropShadowBlur: 2, dropShadowDistance: 3, fill: 'white', fontSize: 14, letterSpacing: 1, lineJoin: 'round', strokeThickness: 3 });
ok it is voluntary laziness, but it will avoid me to use a compressor for some long codes that I am implanting.
thanks
and gread jobs , your tool are very awsome for me.

Alpha missing ?

I do not know the reason for the problem, but it seems that alpha(rgba) is not present.
Can be a non-compatible webkit?
i try in chrome and Edge.
aeveee
aeffff

The styles I need to previews its exclusively generate with rgba
I thought maybe could be able to directly modify the code, but the keyboard and the changes are disabled.

Do you have any idea about a possible solution?

I do not know if this idea can seduce you.
You may have a better idea.
afwcawefef

thank a lot , your work are awsomes.

add Filter text preview + code

hi, another small low priority suggestion.
Possible to add filter for preview text and maybe get code if possible.
this allows to customize a desired filter effect on text, quickly and save a lot of time to get the desired result and code.

sketch:
filter-preview-code
a suggestion but could also use a float box that we can activate
thank a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.