Get/extract dynamic text outline - actionscript-3

I am creating an application in flex, i need to create a handwrite effect for text, I need to get the outline for the text in coordinates or vectors using AS3.
I have tried this answer. As textfields cannot be read usin readGraphicsData(). But i cannot create static textfields becuase am using pure Flex here. Any help would be appreciated.

Related

Best way to draw text in 3d space

I have been developing a game in libgdx, which utilises cards with a number of stats on them. Originally I had done the game in 2d but decided to try itn out in 3d and have had some success so far. However, I cannot work out the best way to draw the text stats onto the cards. I have had no real luck with any of the approaches taken, I tried using a FBO to create the text over the texture and remapping the texture, but this didnt seem to work, and i tried drawing the text and then applying the same transformations from the cards to the text, but this too achieved nothing.
What would be the best approach to going about this, and where can I get guidance on how to execute this?
What you're looking for is signed distance field rendering.
The LibGDX Wiki has an article on it here.

How to draw a filled square behind text in libgdx?

I am developing a grid based game in libgdx. What i want is to know how can i draw a square tile with number written on it which can be moved and scaled.
Its stupidity to design thousands of textures for these numbers and use them as sprites.I want to know if there is any container class in which i can dynamically add text and and set background too.
You can use Scene2d UI components such as Label to create styled text boxes.
Scene2d allows you to do layout and styling of a wide range of components that can easily be manipulated using Actions, or you can create your own components by extending Actor.
To create and display a Label, create a Stage and add the Label to it.
In this context I assume you by "tile" just mean a rectangle.
You don't say anything about what you are doing now. How you draw the numbers.
So this answer is based on almost zero information.
Solution 1:
Use a font with a background color.
Solution 2:
You know the number/how many digits. You know the size of the font. Calculate the size of the text on screen. Use a single narrow background sprite and tile it behind the text.
Solution 3:
Use a textbox from Scene2d.

How to create Text WordArt In Canvas (FabricJS)

I'm creating a product designer using FabricJS. Is there any way to create wordart text shapes in canvas. Just like we have Text Wordarts in Microsoft Word.
I searched online but didn't find anything. I have used Fabric curvedText library though and it provides functionality to only rotate text. Is there anyway or library to create text wordart in different shapes?

Can we add the Word Art style in flex

Can we add the WORD ART or WARP TEXT style in flex
etc
Just like these images i want to make test like bottom arcs, vertical arcs, Birdseye etc as as shown in the images above.
Please help me is that possible in Flex to make such text fonts styles
you can do an envelope distort
envelope-distort-with-actionscript (download source)
First you will draw your textfield to a bitmap using the myBitmap.draw(myTextField). Then you will use the code below to distort that bitmap.
You can either let the user control it or you could set the handles visible to false and set their x,y to preset positions to achieve different effects.
Are you building a tshirt design tool? I created one of those years ago and had effects like this.
I have found a link where we can obtain the word art style in flash which will be very useful for all click here

html5 canvas draw text with mutiple font

How can i fill text in the canvas with mutiple font.
I can be able to fill in canvas this:
This is an example of what I want to do
this is another example of what I want to do
I know that i can slpit the sting and do first fill the normal text, second the bold text, and third the rest of the text. but i want to be able to drag and drop the text, so i cant do in that way.
Sorry, you're out of luck. There's no easy way out here.
You have to call drawtext at least three times if you want text with a bolded word in the center.
There may be a time in the future where you are allowed to draw arbitrary html, the spec mentions this is a real possibility, but that won't be for some time. To quote the spec:
Note: A future version of the 2D context API may provide a way to render fragments of documents, rendered using CSS, straight to the canvas. This would be provided in preference to a dedicated way of doing multiline layout.
From the end of this section.
You can of course still drag and drop, you just have to have a list of elements and their locations that make up a "node". Much more complicated objects have been done in the canvas no doubt.