C# Класс ImageMagick.Drawables

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Affine ( Matrix matrix ) : Drawables

Creates a new DrawableAffine instance using the specified Matrix.

Affine ( double scaleX, double scaleY, double shearX, double shearY, double translateX, double translateY ) : Drawables

Creates a new DrawableAffine instance.

Alpha ( double x, double y, PaintMethod paintMethod ) : Drawables

Creates a new DrawableOpacity instance.

Arc ( double startX, double startY, double endX, double endY, double startDegrees, double endDegrees ) : Drawables

Creates a new DrawableArc instance.

Bezier ( ) : Drawables

Creates a new DrawableBezier instance.

Bezier ( IEnumerable coordinates ) : Drawables

Creates a new DrawableBezier instance.

BorderColor ( Color color ) : Drawables

Creates a new DrawableColor instance.

BorderColor ( MagickColor color ) : Drawables

Creates a new DrawableColor instance.

Circle ( double originX, double originY, double perimeterX, double perimeterY ) : Drawables

Creates a new DrawableCircle instance.

ClipPath ( string clipPath ) : Drawables

Creates a new DrawableClipPath instance.

ClipRule ( FillRule fillRule ) : Drawables

Creates a new DrawableClipRule instance.

ClipUnits ( ClipPathUnit units ) : Drawables

Creates a new DrawableClipUnits instance.

Color ( double x, double y, PaintMethod paintMethod ) : Drawables

Creates a new DrawableColor instance.

Composite ( MagickGeometry offset, CompositeOperator compose, MagickImage image ) : Drawables

Creates a new DrawableCompositeImage instance.

Composite ( MagickGeometry offset, MagickImage image ) : Drawables

Creates a new DrawableCompositeImage instance.

Composite ( double x, double y, CompositeOperator compose, MagickImage image ) : Drawables

Creates a new DrawableCompositeImage instance.

Composite ( double x, double y, MagickImage image ) : Drawables

Creates a new DrawableCompositeImage instance.

Density ( System.Drawing.PointD pointDensity ) : Drawables

Creates a new DrawableDensity instance.

Density ( double density ) : Drawables

Creates a new DrawableDensity instance.

Ellipse ( double originX, double originY, double radiusX, double radiusY, double startDegrees, double endDegrees ) : Drawables

Creates a new DrawableEllipse instance.

FillColor ( Color color ) : Drawables

Creates a new DrawableFillColor instance.

FillColor ( MagickColor color ) : Drawables

Creates a new DrawableFillColor instance.

FillOpacity ( Percentage opacity ) : Drawables

Creates a new DrawableFillOpacity instance.

FillPatternUrl ( string url ) : Drawables

Creates a new DrawableFillPatternUrl instance.

FillRule ( FillRule fillRule ) : Drawables

Creates a new DrawableFillRule instance.

Font ( string family ) : Drawables

Creates a new DrawableFont instance.

Font ( string family, FontStyleType style, FontWeight weight, FontStretch stretch ) : Drawables

Creates a new DrawableFont instance.

FontPointSize ( double pointSize ) : Drawables

Creates a new DrawablePointSize instance.

Gravity ( Gravity gravity ) : Drawables

Creates a new DrawableGravity instance.

Line ( double startX, double startY, double endX, double endY ) : Drawables

Creates a new DrawableLine instance.

Path ( ) : Drawables

Creates a new DrawablePath instance.

Path ( IEnumerable paths ) : Drawables

Creates a new DrawablePath instance.

Point ( double x, double y ) : Drawables

Creates a new DrawablePoint instance.

Polygon ( ) : Drawables

Creates a new DrawablePolygon instance.

Polygon ( IEnumerable coordinates ) : Drawables

Creates a new DrawablePolygon instance.

Polyline ( ) : Drawables

Creates a new DrawablePolyline instance.

Polyline ( IEnumerable coordinates ) : Drawables

Creates a new DrawablePolyline instance.

PopClipPath ( ) : Drawables

Creates a new DrawablePopClipPath instance.

PopGraphicContext ( ) : Drawables

Creates a new DrawablePopGraphicContext instance.

PopPattern ( ) : Drawables

Creates a new DrawablePopPattern instance.

PushClipPath ( string clipPath ) : Drawables

Creates a new DrawablePushClipPath instance.

PushGraphicContext ( ) : Drawables

Creates a new DrawablePushGraphicContext instance.

PushPattern ( string id, double x, double y, double width, double height ) : Drawables

Creates a new DrawablePushPattern instance.

Rectangle ( Rectangle rectangle ) : Drawables

Creates a new DrawableRectangle instance.

Rectangle ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY ) : Drawables

Creates a new DrawableRectangle instance.

Rotation ( double angle ) : Drawables

Creates a new DrawableRotation instance.

RoundRectangle ( double centerX, double centerY, double width, double height, double cornerWidth, double cornerHeight ) : Drawables

Creates a new DrawableRoundRectangle instance.

Scaling ( double x, double y ) : Drawables

Creates a new DrawableScaling instance.

SkewX ( double angle ) : Drawables

Creates a new DrawableSkewX instance.

SkewY ( double angle ) : Drawables

Creates a new DrawableSkewY instance.

StrokeAntialias ( bool isEnabled ) : Drawables

Creates a new DrawableStrokeAntialias instance.

StrokeColor ( Color color ) : Drawables

Creates a new DrawableStrokeColor instance.

StrokeColor ( MagickColor color ) : Drawables

Creates a new DrawableStrokeColor instance.

StrokeDashArray ( ) : Drawables

Creates a new DrawableDashArray instance.

StrokeDashOffset ( double offset ) : Drawables

Creates a new DrawableStrokeDashOffset instance.

StrokeLineCap ( LineCap lineCap ) : Drawables

Creates a new DrawableStrokeLineCap instance.

StrokeLineJoin ( LineJoin lineJoin ) : Drawables

Creates a new DrawableStrokeLineJoin instance.

StrokeMiterLimit ( int miterlimit ) : Drawables

Creates a new DrawableMiterLimit instance.

StrokeOpacity ( Percentage opacity ) : Drawables

Creates a new DrawableStrokeOpacity instance.

StrokePatternUrl ( string url ) : Drawables

Creates a new DrawableStrokePatternUrl instance.

StrokeWidth ( double width ) : Drawables

Creates a new DrawableStrokeWidth instance.

Text ( double x, double y, string value ) : Drawables

Creates a new DrawableText instance.

TextAlignment ( TextAlignment alignment ) : Drawables

Creates a new DrawableTextAntialias instance.

TextAntialias ( bool isEnabled ) : Drawables

Creates a new DrawableTextAntialias instance.

TextDecoration ( TextDecoration decoration ) : Drawables

Creates a new DrawableTextDecoration instance.

TextDirection ( TextDirection direction ) : Drawables

Creates a new DrawableTextDirection instance.

TextEncoding ( Encoding encoding ) : Drawables

Creates a new DrawableTextEncoding instance.

TextInterlineSpacing ( double spacing ) : Drawables

Creates a new DrawableTextInterlineSpacing instance.

TextInterwordSpacing ( double spacing ) : Drawables

Creates a new DrawableTextInterwordSpacing instance.

TextKerning ( double kerning ) : Drawables

Creates a new DrawableTextKerning instance.

TextUnderColor ( Color color ) : Drawables

Creates a new DrawableTextUnderColor instance.

TextUnderColor ( MagickColor color ) : Drawables

Creates a new DrawableTextUnderColor instance.

Translation ( double x, double y ) : Drawables

Creates a new DrawableTranslation instance.

Viewbox ( Rectangle rectangle ) : Drawables

Creates a new DrawableViewbox instance.

Viewbox ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY ) : Drawables

Creates a new DrawableViewbox instance.

Описание методов

Affine() публичный метод

Creates a new DrawableAffine instance using the specified Matrix.
public Affine ( Matrix matrix ) : Drawables
matrix System.Drawing.Drawing2D.Matrix The matrix.
Результат Drawables

Affine() публичный метод

Creates a new DrawableAffine instance.
public Affine ( double scaleX, double scaleY, double shearX, double shearY, double translateX, double translateY ) : Drawables
scaleX double The X coordinate scaling element.
scaleY double The Y coordinate scaling element.
shearX double The X coordinate shearing element.
shearY double The Y coordinate shearing element.
translateX double The X coordinate of the translation element.
translateY double The Y coordinate of the translation element.
Результат Drawables

Alpha() публичный метод

Creates a new DrawableOpacity instance.
public Alpha ( double x, double y, PaintMethod paintMethod ) : Drawables
x double The X coordinate.
y double The Y coordinate.
paintMethod PaintMethod The paint method to use.
Результат Drawables

Arc() публичный метод

Creates a new DrawableArc instance.
public Arc ( double startX, double startY, double endX, double endY, double startDegrees, double endDegrees ) : Drawables
startX double The starting X coordinate of the bounding rectangle.
startY double The starting Y coordinate of thebounding rectangle.
endX double The ending X coordinate of the bounding rectangle.
endY double The ending Y coordinate of the bounding rectangle.
startDegrees double The starting degrees of rotation.
endDegrees double The ending degrees of rotation.
Результат Drawables

Bezier() публичный метод

Creates a new DrawableBezier instance.
public Bezier ( ) : Drawables
Результат Drawables

Bezier() публичный метод

Creates a new DrawableBezier instance.
public Bezier ( IEnumerable coordinates ) : Drawables
coordinates IEnumerable The coordinates.
Результат Drawables

BorderColor() публичный метод

Creates a new DrawableColor instance.
public BorderColor ( Color color ) : Drawables
color System.Drawing.Color The color of the border.
Результат Drawables

BorderColor() публичный метод

Creates a new DrawableColor instance.
public BorderColor ( MagickColor color ) : Drawables
color MagickColor The color of the border.
Результат Drawables

Circle() публичный метод

Creates a new DrawableCircle instance.
public Circle ( double originX, double originY, double perimeterX, double perimeterY ) : Drawables
originX double The origin X coordinate.
originY double The origin Y coordinate.
perimeterX double The perimeter X coordinate.
perimeterY double The perimeter Y coordinate.
Результат Drawables

ClipPath() публичный метод

Creates a new DrawableClipPath instance.
public ClipPath ( string clipPath ) : Drawables
clipPath string The ID of the clip path.
Результат Drawables

ClipRule() публичный метод

Creates a new DrawableClipRule instance.
public ClipRule ( FillRule fillRule ) : Drawables
fillRule FillRule The rule to use when filling drawn objects.
Результат Drawables

ClipUnits() публичный метод

Creates a new DrawableClipUnits instance.
public ClipUnits ( ClipPathUnit units ) : Drawables
units ClipPathUnit The clip path units.
Результат Drawables

Color() публичный метод

Creates a new DrawableColor instance.
public Color ( double x, double y, PaintMethod paintMethod ) : Drawables
x double The X coordinate.
y double The Y coordinate.
paintMethod PaintMethod The paint method to use.
Результат Drawables

Composite() публичный метод

Creates a new DrawableCompositeImage instance.
public Composite ( MagickGeometry offset, CompositeOperator compose, MagickImage image ) : Drawables
offset MagickGeometry The offset from origin.
compose CompositeOperator The algorithm to use.
image MagickImage The image to draw.
Результат Drawables

Composite() публичный метод

Creates a new DrawableCompositeImage instance.
public Composite ( MagickGeometry offset, MagickImage image ) : Drawables
offset MagickGeometry The offset from origin.
image MagickImage The image to draw.
Результат Drawables

Composite() публичный метод

Creates a new DrawableCompositeImage instance.
public Composite ( double x, double y, CompositeOperator compose, MagickImage image ) : Drawables
x double The X coordinate.
y double The Y coordinate.
compose CompositeOperator The algorithm to use.
image MagickImage The image to draw.
Результат Drawables

Composite() публичный метод

Creates a new DrawableCompositeImage instance.
public Composite ( double x, double y, MagickImage image ) : Drawables
x double The X coordinate.
y double The Y coordinate.
image MagickImage The image to draw.
Результат Drawables

Density() публичный метод

Creates a new DrawableDensity instance.
public Density ( System.Drawing.PointD pointDensity ) : Drawables
pointDensity System.Drawing.PointD The vertical and horizontal resolution.
Результат Drawables

Density() публичный метод

Creates a new DrawableDensity instance.
public Density ( double density ) : Drawables
density double The vertical and horizontal resolution.
Результат Drawables

Ellipse() публичный метод

Creates a new DrawableEllipse instance.
public Ellipse ( double originX, double originY, double radiusX, double radiusY, double startDegrees, double endDegrees ) : Drawables
originX double The origin X coordinate.
originY double The origin Y coordinate.
radiusX double The X radius.
radiusY double The Y radius.
startDegrees double The starting degrees of rotation.
endDegrees double The ending degrees of rotation.
Результат Drawables

FillColor() публичный метод

Creates a new DrawableFillColor instance.
public FillColor ( Color color ) : Drawables
color System.Drawing.Color The color to use.
Результат Drawables

FillColor() публичный метод

Creates a new DrawableFillColor instance.
public FillColor ( MagickColor color ) : Drawables
color MagickColor The color to use.
Результат Drawables

FillOpacity() публичный метод

Creates a new DrawableFillOpacity instance.
public FillOpacity ( Percentage opacity ) : Drawables
opacity Percentage The opacity.
Результат Drawables

FillPatternUrl() публичный метод

Creates a new DrawableFillPatternUrl instance.
public FillPatternUrl ( string url ) : Drawables
url string Url specifying pattern ID (e.g. "#pattern_id").
Результат Drawables

FillRule() публичный метод

Creates a new DrawableFillRule instance.
public FillRule ( FillRule fillRule ) : Drawables
fillRule FillRule The rule to use when filling drawn objects.
Результат Drawables

Font() публичный метод

Creates a new DrawableFont instance.
public Font ( string family ) : Drawables
family string The font family or the full path to the font file.
Результат Drawables

Font() публичный метод

Creates a new DrawableFont instance.
public Font ( string family, FontStyleType style, FontWeight weight, FontStretch stretch ) : Drawables
family string The font family or the full path to the font file.
style FontStyleType The style of the font.
weight FontWeight The weight of the font.
stretch FontStretch The font stretching type.
Результат Drawables

FontPointSize() публичный метод

Creates a new DrawablePointSize instance.
public FontPointSize ( double pointSize ) : Drawables
pointSize double The point size.
Результат Drawables

Gravity() публичный метод

Creates a new DrawableGravity instance.
public Gravity ( Gravity gravity ) : Drawables
gravity Gravity The gravity.
Результат Drawables

Line() публичный метод

Creates a new DrawableLine instance.
public Line ( double startX, double startY, double endX, double endY ) : Drawables
startX double The starting X coordinate.
startY double The starting Y coordinate.
endX double The ending X coordinate.
endY double The ending Y coordinate.
Результат Drawables

Path() публичный метод

Creates a new DrawablePath instance.
public Path ( ) : Drawables
Результат Drawables

Path() публичный метод

Creates a new DrawablePath instance.
public Path ( IEnumerable paths ) : Drawables
paths IEnumerable The paths to use.
Результат Drawables

Point() публичный метод

Creates a new DrawablePoint instance.
public Point ( double x, double y ) : Drawables
x double The X coordinate.
y double The Y coordinate.
Результат Drawables

Polygon() публичный метод

Creates a new DrawablePolygon instance.
public Polygon ( ) : Drawables
Результат Drawables

Polygon() публичный метод

Creates a new DrawablePolygon instance.
public Polygon ( IEnumerable coordinates ) : Drawables
coordinates IEnumerable The coordinates.
Результат Drawables

Polyline() публичный метод

Creates a new DrawablePolyline instance.
public Polyline ( ) : Drawables
Результат Drawables

Polyline() публичный метод

Creates a new DrawablePolyline instance.
public Polyline ( IEnumerable coordinates ) : Drawables
coordinates IEnumerable The coordinates.
Результат Drawables

PopClipPath() публичный метод

Creates a new DrawablePopClipPath instance.
public PopClipPath ( ) : Drawables
Результат Drawables

PopGraphicContext() публичный метод

Creates a new DrawablePopGraphicContext instance.
public PopGraphicContext ( ) : Drawables
Результат Drawables

PopPattern() публичный метод

Creates a new DrawablePopPattern instance.
public PopPattern ( ) : Drawables
Результат Drawables

PushClipPath() публичный метод

Creates a new DrawablePushClipPath instance.
public PushClipPath ( string clipPath ) : Drawables
clipPath string The ID of the clip path.
Результат Drawables

PushGraphicContext() публичный метод

Creates a new DrawablePushGraphicContext instance.
public PushGraphicContext ( ) : Drawables
Результат Drawables

PushPattern() публичный метод

Creates a new DrawablePushPattern instance.
public PushPattern ( string id, double x, double y, double width, double height ) : Drawables
id string The ID of the pattern.
x double The X coordinate.
y double The Y coordinate.
width double The width.
height double The height.
Результат Drawables

Rectangle() публичный метод

Creates a new DrawableRectangle instance.
public Rectangle ( Rectangle rectangle ) : Drawables
rectangle System.Drawing.Rectangle The rectangle to use.
Результат Drawables

Rectangle() публичный метод

Creates a new DrawableRectangle instance.
public Rectangle ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY ) : Drawables
upperLeftX double The upper left X coordinate.
upperLeftY double The upper left Y coordinate.
lowerRightX double The lower right X coordinate.
lowerRightY double The lower right Y coordinate.
Результат Drawables

Rotation() публичный метод

Creates a new DrawableRotation instance.
public Rotation ( double angle ) : Drawables
angle double The angle.
Результат Drawables

RoundRectangle() публичный метод

Creates a new DrawableRoundRectangle instance.
public RoundRectangle ( double centerX, double centerY, double width, double height, double cornerWidth, double cornerHeight ) : Drawables
centerX double The center X coordinate.
centerY double The center Y coordinate.
width double The width.
height double The height.
cornerWidth double The corner width.
cornerHeight double The corner height.
Результат Drawables

Scaling() публичный метод

Creates a new DrawableScaling instance.
public Scaling ( double x, double y ) : Drawables
x double Horizontal scale factor.
y double Vertical scale factor.
Результат Drawables

SkewX() публичный метод

Creates a new DrawableSkewX instance.
public SkewX ( double angle ) : Drawables
angle double The angle.
Результат Drawables

SkewY() публичный метод

Creates a new DrawableSkewY instance.
public SkewY ( double angle ) : Drawables
angle double The angle.
Результат Drawables

StrokeAntialias() публичный метод

Creates a new DrawableStrokeAntialias instance.
public StrokeAntialias ( bool isEnabled ) : Drawables
isEnabled bool True if stroke antialiasing is enabled otherwise false.
Результат Drawables

StrokeColor() публичный метод

Creates a new DrawableStrokeColor instance.
public StrokeColor ( Color color ) : Drawables
color System.Drawing.Color The color to use.
Результат Drawables

StrokeColor() публичный метод

Creates a new DrawableStrokeColor instance.
public StrokeColor ( MagickColor color ) : Drawables
color MagickColor The color to use.
Результат Drawables

StrokeDashArray() публичный метод

Creates a new DrawableDashArray instance.
public StrokeDashArray ( ) : Drawables
Результат Drawables

StrokeDashOffset() публичный метод

Creates a new DrawableStrokeDashOffset instance.
public StrokeDashOffset ( double offset ) : Drawables
offset double The dash offset.
Результат Drawables

StrokeLineCap() публичный метод

Creates a new DrawableStrokeLineCap instance.
public StrokeLineCap ( LineCap lineCap ) : Drawables
lineCap LineCap The line cap.
Результат Drawables

StrokeLineJoin() публичный метод

Creates a new DrawableStrokeLineJoin instance.
public StrokeLineJoin ( LineJoin lineJoin ) : Drawables
lineJoin LineJoin The line join.
Результат Drawables

StrokeMiterLimit() публичный метод

Creates a new DrawableMiterLimit instance.
public StrokeMiterLimit ( int miterlimit ) : Drawables
miterlimit int The miter limit.
Результат Drawables

StrokeOpacity() публичный метод

Creates a new DrawableStrokeOpacity instance.
public StrokeOpacity ( Percentage opacity ) : Drawables
opacity Percentage The opacity.
Результат Drawables

StrokePatternUrl() публичный метод

Creates a new DrawableStrokePatternUrl instance.
public StrokePatternUrl ( string url ) : Drawables
url string Url specifying pattern ID (e.g. "#pattern_id").
Результат Drawables

StrokeWidth() публичный метод

Creates a new DrawableStrokeWidth instance.
public StrokeWidth ( double width ) : Drawables
width double The width.
Результат Drawables

Text() публичный метод

Creates a new DrawableText instance.
public Text ( double x, double y, string value ) : Drawables
x double The X coordinate.
y double The Y coordinate.
value string The text to draw.
Результат Drawables

TextAlignment() публичный метод

Creates a new DrawableTextAntialias instance.
public TextAlignment ( TextAlignment alignment ) : Drawables
alignment TextAlignment Text alignment.
Результат Drawables

TextAntialias() публичный метод

Creates a new DrawableTextAntialias instance.
public TextAntialias ( bool isEnabled ) : Drawables
isEnabled bool True if text antialiasing is enabled otherwise false.
Результат Drawables

TextDecoration() публичный метод

Creates a new DrawableTextDecoration instance.
public TextDecoration ( TextDecoration decoration ) : Drawables
decoration TextDecoration The text decoration.
Результат Drawables

TextDirection() публичный метод

Creates a new DrawableTextDirection instance.
public TextDirection ( TextDirection direction ) : Drawables
direction TextDirection Direction to use.
Результат Drawables

TextEncoding() публичный метод

Creates a new DrawableTextEncoding instance.
public TextEncoding ( Encoding encoding ) : Drawables
encoding Encoding Encoding to use.
Результат Drawables

TextInterlineSpacing() публичный метод

Creates a new DrawableTextInterlineSpacing instance.
public TextInterlineSpacing ( double spacing ) : Drawables
spacing double Spacing to use.
Результат Drawables

TextInterwordSpacing() публичный метод

Creates a new DrawableTextInterwordSpacing instance.
public TextInterwordSpacing ( double spacing ) : Drawables
spacing double Spacing to use.
Результат Drawables

TextKerning() публичный метод

Creates a new DrawableTextKerning instance.
public TextKerning ( double kerning ) : Drawables
kerning double Kerning to use.
Результат Drawables

TextUnderColor() публичный метод

Creates a new DrawableTextUnderColor instance.
public TextUnderColor ( Color color ) : Drawables
color System.Drawing.Color The color to use.
Результат Drawables

TextUnderColor() публичный метод

Creates a new DrawableTextUnderColor instance.
public TextUnderColor ( MagickColor color ) : Drawables
color MagickColor The color to use.
Результат Drawables

Translation() публичный метод

Creates a new DrawableTranslation instance.
public Translation ( double x, double y ) : Drawables
x double The X coordinate.
y double The Y coordinate.
Результат Drawables

Viewbox() публичный метод

Creates a new DrawableViewbox instance.
public Viewbox ( Rectangle rectangle ) : Drawables
rectangle System.Drawing.Rectangle The rectangle to use.
Результат Drawables

Viewbox() публичный метод

Creates a new DrawableViewbox instance.
public Viewbox ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY ) : Drawables
upperLeftX double The upper left X coordinate.
upperLeftY double The upper left Y coordinate.
lowerRightX double The lower right X coordinate.
lowerRightY double The lower right Y coordinate.
Результат Drawables