Skip to content

Crow.ExtensionsMethods

Jean-Philippe Bruyère edited this page Oct 26, 2021 · 3 revisions

namespace: Crow

Inheritance Hierarchy

  • ExtensionsMethods

Syntax

public class ExtensionsMethods

Constructors

prototype description

Properties

name description

Methods

prototype description
PointD Add(this PointD p1, PointD p2) __
void AddColorStop(this Gradient grad, double offset, Color c) __
PointD Divide(this PointD p1, double d) __
void DrawCote(this Context ctx, PointD p1, PointD p2, double stroke=1.0, bool fill=false, double arrowWidth=3.0, double arrowLength=7.0) __
void DrawCoteFixed(this Context ctx, PointD p1, PointD p2, double stroke=1.0, double coteWidth=3.0) __
void DrawCoteInverse(this Context ctx, PointD p1, PointD p2, double stroke=1.0, bool fill=false, double arrowWidth=3.0, double arrowLength=7.0) __
byte[] GetBytes(this string str) __
object GetDefaultValue(this object obj) __
FileSystemInfo[] GetFileSystemInfosOrdered(this DirectoryInfo di) __
double GetLength(this PointD p) __
PointD GetNormalized(this PointD p) __
Alignment GetOpposite(this Alignment a) __
Orientation GetOrientation(this Alignment a) __
PointD GetPerp(this PointD p) __
bool IsWhiteSpaceOrNewLine(this char c) __
PointD Multiply(this PointD p1, double v) __
void Raise(this EventHandler handler, object sender, EventArgs e) __
void Raise< T >(this EventHandler< T > handler, object sender, T e) __
void Rectangle(this Context ctx, Rectangle r, double stroke=0.0) __
PointD Substract(this PointD p1, PointD p2) __
bool TryGetResource(this Assembly a, string resId, out Stream stream) __

Events

name description
Clone this wiki locally