Totemsoft.SDK.Framework4.Graphics.Image.Sliced 命名空间
来源:互联网 发布:淘宝上下架规则2017 编辑:程序博客网 时间:2024/06/06 19:29
Totemsoft.SDK.Framework4.Graphics.Image.Sliced 命名空间
提供对符合切片规则的图像的处理支持
说明 Introduction
自定义切片图像处理类,该类支持对切片图像全部或部分内容进行有规则的延展。
成员 Members
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced 命名空间
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced.SliceImage
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced.Exceptions 命名空间
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced.Exceptions.ImageTooSmallException
版本信息 Version Information
Created date: 2017年04月17日
Last modify date: 2017年05月09日
Programmer: Eddie Chan
Version: 1.01.03
版权信息 Copyright Information
Copyright © 2017 Totemsoft Inc. All rights reserved.
Totemsoft is a trademark of Imago organization.
SliceImage 类
构造函数 Constructors
属性 Properties
方法 Methods
异常 Exceptions
ImagePixelFormatException 位于 Totemsoft.SDK.Framework4.Graphics.Image.Exceptions 命名空间。
示例 Examples
Visual C Sharp Code
using System.Drawing;using System.Drawing.Imaging;using Totemsoft.SDK.Framework4.Graphics.Image.Sliced;public class TestSliceImageClass(){ public void MakeNewSlice() { Bitmap objBitmap = Bitmap.FromFile("D:\\TestSlice.png"); SliceImage objSlice = new SliceImage(objBitmap, new Size(5, 5), new Size(8, 8)); Bitmap destBitmap = SliceImage.ResizeTo(new Size(300, 200), SlicePartInfo.LeftExclude); destBitmap.Save("D:\\NewSlice.png", ImageFormat.Png); }}
Visual Basic Code
Imports System.DrawingImports System.Drawing.ImagingImports Totemsoft.SDK.Framework4.Graphics.Image.SlicedPublic Class TestSLiceImageClass Public Sub MakeNewSlice() Dim objBitmap As Bitmap = Bitmap.FromFile("D:\TestSLice.png") Dim objSlice As New SliceImage(objBitmap, New Size(5, 5), New Size(8, 8)) Dim destBitmap As Bitmap = SliceImage.ResizeTo(New Size(300, 200), SlicePartInfo.LeftExclude) destBitmap.Save("D:\NewSlice.png", ImageFormat.Png) End SubEnd Class
SlicePartInfo 枚举
SliceImage 类通过 SlicePartInfo 枚举决定最终呈现的切片内容。
成员 Members
SliceOffsetInfo 结构
构造函数 Constructors
属性 Properties
Copyright © 2017 Totemsoft Inc. All rights reserved.
0 0
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced 命名空间
- Totemsoft.SDK.Framework4.Graphics.Image.Serialized 命名空间
- Totemsoft.SDK.Framework4.Files.Formatted 命名空间
- Graphics SDK
- [Flex]Flex SDK 4(Gumbo)命名空间(NameSpace)概述
- Flex SDK 4(Gumbo)命名空间(NameSpace)概述
- ArcGIS Runtime WPF SDK (2)命名空间解析
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- 命名空间
- gulp安装详解、及less
- Java 内存溢出(java.lang.OutOfMemoryError)的常见情况和处理方式总结
- 【Unity&继承】关于继承的一些问题
- NSUserDefaults 简介,使用 NSUserDefaults 存储自定义对象
- iOS-关联(objc_setAssociatedObject、objc_getAssociatedObject、objc_removeAssociatedObjects)
- Totemsoft.SDK.Framework4.Graphics.Image.Sliced 命名空间
- Android view获取其本身在屏幕中的位置和尺寸的方法
- MySQL慢查询日志总结
- generatorConfiguration配置文件及其详细解读
- VC++ 判断文件或文件夹是否存在
- 一步一步教你写股票走势图——分时图五(自定义标记)
- 菜鸟速成记-IDL初识
- java操作符(Thinking in Java)
- TTTAttributedLabel高亮显示手机号码、网址