---
title: "v5_06 绘制MXML图形"
author: "ymkyve"
date: "2011-03-05T21:44:40Z"
tags: []
categories: ["Web前端"]
slug: "v5-06-mxml"
draft: false
lastmod: "2011-03-05T21:44:40Z"
id: 941782
url: "https://ymkyve.iteye.com/blog/941782"
---

**![](/upload/picture/pic/82543/cb5900fb-2d8f-33ea-9f0a-0c840e61f217.gif)v5\_06 Drawing with MXMLgraphics 绘制MXML图形**

 

**ex5\_06**

**spark基元**

spark.primitives     

The spark.primitives package contains the basic classes used by Spark components.

* * *

[]()

Classes

  Class Description   [BitmapImage]() A BitmapImage element defines a rectangular region in its parent element's coordinate space, filled with bitmap data drawn from a source file.   [Ellipse]() The Ellipse class is a filled graphic element that draws an ellipse.   [Graphic]() The Graphic control displays a set of graphic drawing commands.   [Line]() The Line class is a graphic element that draws a line between two points.   [Path]() The Path class is a filled graphic element that draws a series of path segments.   [Rect]() The Rect class is a filled graphic element that draws a rectangle.   [RectangularDropShadow]() This class optimizes drop shadows for the common case.