Show / Hide Table of Contents

Class Enums.Extend

How to extend image edges.

Inheritance
System.Object
Enums.Extend
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NetVips
Assembly: NetVips.dll
Syntax
public static class Extend
Remarks

When the edges of an image are extended, you can specify how you want the extension done. See Embed(Int32, Int32, Int32, Int32, String, Double[]), Conv(Image, String, Nullable<Int32>, Nullable<Int32>), Affine(Double[], GObject, Int32[], Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Double[], Nullable<Boolean>, String) and so on.

Fields

| Improve this Doc View Source

Background

Colour set from the @background property.

Declaration
public const string Background = "background"
Field Value
Type Description
System.String
| Improve this Doc View Source

Black

New pixels are black, ie. all bits are zero.

Declaration
public const string Black = "black"
Field Value
Type Description
System.String
| Improve this Doc View Source

Copy

Each new pixel takes the value of the nearest edge pixel.

Declaration
public const string Copy = "copy"
Field Value
Type Description
System.String
| Improve this Doc View Source

Mirror

The image is reflected and tiled to reduce hash edges.

Declaration
public const string Mirror = "mirror"
Field Value
Type Description
System.String
| Improve this Doc View Source

Repeat

The image is tiled to fill the new area.

Declaration
public const string Repeat = "repeat"
Field Value
Type Description
System.String
| Improve this Doc View Source

White

New pixels are white, ie. all bits are set.

Declaration
public const string White = "white"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX