UIButton中的**EdgeInsets是做什么用的?UIEdgeInsetsMakeCreates
an edge inset for a button or view.An inset is a margin around the drawing
rectangle where each s...
分类:
其他好文 时间:
2014-05-27 01:52:22
阅读次数:
297
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Tex...
分类:
其他好文 时间:
2014-05-22 12:36:05
阅读次数:
243
一:根据标点符号分行,上图,代码很简单二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.L...
一:从字符串总分离文件路径、命名、扩展名,上图二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using Syst...
一:上图,不清楚的看代码注解,很详细了二:具体代码窗体代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using Sy...
Form1.cs[csharp]view
plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem....
分类:
其他好文 时间:
2014-05-18 20:04:33
阅读次数:
362
一:上图二:相关代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using Sys...
分类:
编程语言 时间:
2014-05-18 01:51:47
阅读次数:
407
using System; using System.IO;//用于文件存取 using
System.Data;//用于数据访问 using System.Drawing;//提供画GDI+图形的基本功能 using
System.Drawing.Text;//提供画GDI+图形的高级功能 usi...
基本图形的绘制 包括: 代码画线,画文字 图片 裁剪 重绘 简单动画
当自定义view的时候 系统会自动调用drawRect 方法
画线
- (void)drawRect:(CGRect)rect
{
// Drawing code
// 1.获得图形上下文
CGContextRef ctx = UIGraphicsGetCurrentContext();
...
分类:
移动开发 时间:
2014-05-14 21:20:24
阅读次数:
497
/* * Draw traversal performs several drawing
steps which must be executed * in the appropriate order: * * 1. Draw...
分类:
移动开发 时间:
2014-05-14 07:54:54
阅读次数:
399