Structures
The following structures are available globally.
-
The
See moreDynamicImageFilter
class simplifies custom image filter creation by using a trailing closure initializer.Declaration
Swift
public struct DynamicImageFilter : ImageFilter
-
The
See moreDynamicCompositeImageFilter
class is a composite image filter based on a specified array of filters.Declaration
Swift
public struct DynamicCompositeImageFilter : CompositeImageFilter
-
Scales an image to a specified size.
See moreDeclaration
Swift
public struct ScaledToSizeFilter : ImageFilter, Sizable
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size.
See moreDeclaration
Swift
public struct AspectScaledToFitSizeFilter : ImageFilter, Sizable
-
Scales an image from the center while maintaining the aspect ratio to fill a specified size. Any pixels that fall outside the specified size are clipped.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeFilter : ImageFilter, Sizable
-
Rounds the corners of an image to the specified radius.
See moreDeclaration
Swift
public struct RoundedCornersFilter : ImageFilter, Roundable
-
Rounds the corners of an image into a circle.
See moreDeclaration
Swift
public struct CircleFilter : ImageFilter
-
Blurs an image using a
See moreCIGaussianBlur
filter with the specified blur radius.Declaration
Swift
public struct BlurFilter : ImageFilter, CoreImageFilter
-
Scales an image to a specified size, then rounds the corners to the specified radius.
See moreDeclaration
Swift
public struct ScaledToSizeWithRoundedCornersFilter : CompositeImageFilter
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size, then rounds the corners to the specified radius.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeWithRoundedCornersFilter : CompositeImageFilter
-
Scales an image to a specified size, then rounds the corners into a circle.
See moreDeclaration
Swift
public struct ScaledToSizeCircleFilter : CompositeImageFilter
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size, then rounds the corners into a circle.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeCircleFilter : CompositeImageFilter