38

Degrafa Top 5 Features

Embed Size (px)

DESCRIPTION

Presentation given at Flex Camp Orange County discussing the "Top 5" features of Degrafa.

Citation preview

Page 1: Degrafa Top 5 Features
Page 2: Degrafa Top 5 Features

What are we talking about?introduction to Degrafasome of the basicstop 5 featuressamplesfuture stuff?

Page 3: Degrafa Top 5 Features

What is Degrafa?

Page 4: Degrafa Top 5 Features

Degrafa is:a declarative graphics frameworkopen sourcelicensed under MITworks with Flex 2, 3 and Flex 4*community drivenfor designers & developersat version Beta 3.1

Page 5: Degrafa Top 5 Features

DeclarativeGraphics

Framework?

Page 6: Degrafa Top 5 Features

ActionScriptgraphics.beginFill(#666666,.5);graphics.drawCircle(0,0,100);graphics.endFill();

Degrafa MXML

<Circle radius="100"> <fill> <SolidFill color="#666" alpha=".5"/> </fill></Circle>

Page 7: Degrafa Top 5 Features

Geometry

SVG T

Page 8: Degrafa Top 5 Features

Geometry:draw to anything*bindable propertiesbase shapesauto shapessvg path dataraster & vector textcontributions by jim armstrong

Page 9: Degrafa Top 5 Features

Beyond Geometrystates"lls & strokestransformslayoutmasks"ltersextending

Page 10: Degrafa Top 5 Features

Demo: Degrafa Basics

Page 11: Degrafa Top 5 Features

Top 5 Featuresof Degrafa

(debatable)

Page 12: Degrafa Top 5 Features

VectorFill

Page 13: Degrafa Top 5 Features

What’s VectorFill?create a "ll using Degrafa markuptreat it just like a BitmapFillno external assetseasy to make changes

Page 14: Degrafa Top 5 Features

Demo: VectorFill

Page 15: Degrafa Top 5 Features

IGraphicSkin

Button

Page 16: Degrafa Top 5 Features

What’s IGraphicSkin do?create skins for componentsuses the new Degrafa statesskin chartscompletely customize your UI

Page 17: Degrafa Top 5 Features

Demo: IGraphicSkin

Page 18: Degrafa Top 5 Features

Repeaters

Page 19: Degrafa Top 5 Features

What are Repeaters?repeat any geometrymodify any property on each repetitiondo complex things with minimal code

Page 20: Degrafa Top 5 Features

Repeaters are great for:patternsdata visualizationartistic explorationsskinning

Page 21: Degrafa Top 5 Features

Demo: Repeaters

Page 22: Degrafa Top 5 Features

Advanced CSS

Page 23: Degrafa Top 5 Features

Advanced CSSdo much more via CSSgradient backgroundslayer graphicsmultiple backgroundsrounded cornersblends"lters?

Page 24: Degrafa Top 5 Features

Why Advanced CSS?customize your entire UI using just CSSexternal access for designerseasily repurpose complex styles

Page 25: Degrafa Top 5 Features

Demo: Advanced CSS

Page 26: Degrafa Top 5 Features

Decorators

Page 27: Degrafa Top 5 Features

Decoratorsexternally alters geometrypossible because of the Degrafa command stackget to the point-by-point dataeasy way to extend Degrafa without altering the source

Page 28: Degrafa Top 5 Features

Possibilities with Decorators?change angles to curvesdashed linesstart & end capsmultiple & shape bordersa ton of possibilities...group them together!

Page 29: Degrafa Top 5 Features

Demo: Decorators

Page 30: Degrafa Top 5 Features

So what does this mean?

Page 31: Degrafa Top 5 Features

Drawing is easy!<Surface>

<GeometryGroup>

<Circle radius="100"> <fill> <SolidFill alpha=".5" color="#62ABCD"/> </fill> </Circle>

</GeometryGroup>

</Surface>

Page 32: Degrafa Top 5 Features

Less External Assets

Page 33: Degrafa Top 5 Features

Do really complex stuffwith minimal code.

Page 34: Degrafa Top 5 Features

Fine-grained control.

Page 35: Degrafa Top 5 Features

Endless Possibilities?

Page 36: Degrafa Top 5 Features

What’s Next?

Page 37: Degrafa Top 5 Features

What’s Next:feature set is de"nedtime to re"ne and "nish these features"x bugs and optimizeVectorTextText on a Pathunion, punch, join, etc.AutoShapesextenions

Page 38: Degrafa Top 5 Features

degrafa.org

Thanks!