使用图像绘制
2013-08-13 23:16
204 查看
<Page x:Class="使用图像绘制.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" WindowTitle="使用图像绘制"> <StackPanel Orientation="Horizontal"> <Ellipse Width="120" Height="90" Stroke="Blue" StrokeThickness="3" Margin="10"> <Ellipse.Fill> <ImageBrush ImageSource="Hydrangeas.jpg"/> </Ellipse.Fill> </Ellipse> <Rectangle Width="100" Height="85" Stroke="Red" StrokeThickness="3" Margin="10"> <Rectangle.Fill> <ImageBrush ImageSource="131.ico"/> </Rectangle.Fill> </Rectangle> <Rectangle Width="100" Height="85" Stroke="Green" StrokeThickness="3" Margin="10"> <Rectangle.Fill> <ImageBrush ImageSource="256.ico" Viewport="0,0,0.25,0.25" ViewportUnits="RelativeToBoundingBox" TileMode="Tile"/> </Rectangle.Fill> </Rectangle> </StackPanel> </Page>
相关文章推荐
- 在wxWidgets中使用OpenCV绘制摄像头图像
- HTML5利用Canvas绘制图形(使用图像、裁剪区域、使用文本。阴影效果和操作像素)
- 图像灰度直方图绘制——使用QT实现一个图像处理软件2
- 使用径向渐变绘制图像
- QT 使用Pixmap绘制图像
- C# 使用.NET性能计数器示例 绘制出正弦函数图像
- Android 图像绘制之Matrix 的使用
- 使用QT搭建点云显示框架系列五·基于QT的QML图像选点、动态绘制十字丝功能 ,以及纹理映射
- python使用PyGame绘制图像并保存为图片文件的方法
- 使用matplotlib绘制图像并设置标题以及坐标轴等信息
- 使用xml来绘制简单的图像
- 创建一个大小为400*400的三通道的RGB图像。将它的全部元素置0.使用指针算法将以(100,100)与(300,300)为项点绘制一个绿色的矩形。
- PHP 使用GD库生成验证码 在图像上绘制汉字
- Python下opencv使用笔记(二)(简单几何图像绘制)
- 使用GDI+绘制Png图像的尴尬
- 【Android LibGDX游戏引擎开发教程】第06期:图形图像的绘制(下)图片整合工具的使用
- 使用Batik绘制SVG图并保存为png图像格式
- 使用PHP GD库绘制图像,不显示的问题
- [C#]GDI+中使用BitBlt绘制图像到窗口失败
- opencv2 使用鼠标绘制矩形并截取和保存矩形区域图像