comp • gb.cairo • cairopattern • filter

CairoPattern.Filter (gb.cairo)

Property Filter As Integer

Returns or sets the filter to be used for resizing when using this pattern.

This property can take one of the following values:

Note that you might want to control filtering even when you do not have an explicit CairoPattern object. In these cases, it is convenient to use Cairo.Source to get access to the pattern that cairo creates implicitly.

For example:

Cairo.Source.Filter = Cairo.FilterNearest