Swiftgram/docs/appledoc/Categories/UIImage+ASDKAdditions.html
Garrett Moon 5c8b31684a Rename AsyncDisplayKit to Texture (#4)
* Rename AsyncDisplayKit to Texture

* More renaming
2017-04-14 09:37:38 -07:00

352 lines
10 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>UIImage(ASDKAdditions) Category Reference</title>
<link rel="stylesheet" href="../css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
<header>
<div class="container" class="hide-in-xcode">
<h1 id="library-title">
<a href="../index.html"> </a>
</h1>
<p id="developer-home">
<a href="../index.html">Texture</a>
</p>
</div>
</header>
<aside>
<div class="container">
<nav>
<ul id="header-buttons" role="toolbar">
<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>
<li id="on-this-page" role="navigation">
<label>
On This Page
<div class="chevron">
<div class="chevy chevron-left"></div>
<div class="chevy chevron-right"></div>
</div>
<select id="jump-to">
<option value="top">Jump To&#133;</option>
<option value="tasks">Tasks</option>
<optgroup label="Class Methods">
<option value="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:">+ as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:</option>
<option value="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:">+ as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:</option>
<option value="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:">+ as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:</option>
</optgroup>
</select>
</label>
</li>
</ul>
</nav>
</div>
</aside>
<article>
<div id="overview_contents" class="container">
<div id="content">
<main role="main">
<h1 class="title">UIImage(ASDKAdditions) Category Reference</h1>
<div class="section section-specification"><table cellspacing="0"><tbody>
<tr>
<th>Declared in</th>
<td>UIImage+ASConvenience.h</td>
</tr>
</tbody></table></div>
<div class="section section-tasks">
<a title="Tasks" name="tasks"></a>
<div class="task-list">
<div class="section-method">
<a name="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:" title="as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:"></a>
<h3 class="method-title"><code><a href="#//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:">+&nbsp;as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:</a></code>
</h3>
<div class="method-info">
<div class="pointy-thing"></div>
<div class="method-info-container">
<div class="method-subsection brief-description">
<p>This generates a flat-color, rounded-corner resizeable image</p>
</div>
<div class="method-subsection method-declaration"><code>+ (UIImage *)as_resizableRoundedImageWithCornerRadius:(CGFloat)<em>cornerRadius</em> cornerColor:(UIColor *)<em>cornerColor</em> fillColor:(UIColor *)<em>fillColor</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>cornerRadius</code></th>
<td><p>The radius of the rounded-corner</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>cornerColor</code></th>
<td><p>The fill color of the corners (For Alpha corners use clearColor)</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>fillColor</code></th>
<td><p>The fill color of the rounded-corner image</p></td>
</tr>
</table>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">UIImage+ASConvenience.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:" title="as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:"></a>
<h3 class="method-title"><code><a href="#//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:">+&nbsp;as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:</a></code>
</h3>
<div class="method-info">
<div class="pointy-thing"></div>
<div class="method-info-container">
<div class="method-subsection brief-description">
<p>This generates a flat-color, rounded-corner resizeable image with a border</p>
</div>
<div class="method-subsection method-declaration"><code>+ (UIImage *)as_resizableRoundedImageWithCornerRadius:(CGFloat)<em>cornerRadius</em> cornerColor:(UIColor *)<em>cornerColor</em> fillColor:(UIColor *)<em>fillColor</em> borderColor:(nullable UIColor *)<em>borderColor</em> borderWidth:(CGFloat)<em>borderWidth</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>cornerRadius</code></th>
<td><p>The radius of the rounded-corner</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>cornerColor</code></th>
<td><p>The fill color of the corners (For Alpha corners use clearColor)</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>fillColor</code></th>
<td><p>The fill color of the rounded-corner image</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>borderColor</code></th>
<td><p>The border color. Set to nil for no border.</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>borderWidth</code></th>
<td><p>The border width. Dummy value if borderColor = nil.</p></td>
</tr>
</table>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">UIImage+ASConvenience.h</code></p>
</div>
</div>
</div>
</div><div class="section-method">
<a name="//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:" title="as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:"></a>
<h3 class="method-title"><code><a href="#//api/name/as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:">+&nbsp;as_resizableRoundedImageWithCornerRadius:cornerColor:fillColor:borderColor:borderWidth:roundedCorners:scale:</a></code>
</h3>
<div class="method-info">
<div class="pointy-thing"></div>
<div class="method-info-container">
<div class="method-subsection brief-description">
<p>This generates a flat-color, rounded-corner resizeable image with a border</p>
</div>
<div class="method-subsection method-declaration"><code>+ (UIImage *)as_resizableRoundedImageWithCornerRadius:(CGFloat)<em>cornerRadius</em> cornerColor:(UIColor *)<em>cornerColor</em> fillColor:(UIColor *)<em>fillColor</em> borderColor:(nullable UIColor *)<em>borderColor</em> borderWidth:(CGFloat)<em>borderWidth</em> roundedCorners:(UIRectCorner)<em>roundedCorners</em> scale:(CGFloat)<em>scale</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<table class="argument-def parameter-def">
<tr>
<th scope="row" class="argument-name"><code>cornerRadius</code></th>
<td><p>The radius of the rounded-corner</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>cornerColor</code></th>
<td><p>The fill color of the corners (For Alpha corners use clearColor)</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>fillColor</code></th>
<td><p>The fill color of the rounded-corner image</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>borderColor</code></th>
<td><p>The border color. Set to nil for no border.</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>borderWidth</code></th>
<td><p>The border width. Dummy value if borderColor = nil.</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>roundedCorners</code></th>
<td><p>Select individual or multiple corners to round. Set to UIRectCornerAllCorners to round all 4 corners.</p></td>
</tr>
<tr>
<th scope="row" class="argument-name"><code>scale</code></th>
<td><p>The number of pixels per point. Provide 0.0 to use the screen scale.</p></td>
</tr>
</table>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<p><code class="declared-in-ref">UIImage+ASConvenience.h</code></p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; 2016 Texture. All rights reserved. Updated: 2016-11-05</p>
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
</div>
</footer>
</div>
</div>
</article>
<script src="../js/script.js"></script>
</body>
</html>