Navigation
API > API/Editor > API/Editor/SVGDistanceField
The strategy for positioning the SVG geometry within the output image
| Name | ESvgDistanceFieldPlacementMode |
| Type | enum |
| Header File | /Engine/Source/Editor/SVGDistanceField/Public/SvgDistanceFieldConfiguration.h |
| Include Path | #include "SvgDistanceFieldConfiguration.h" |
Syntax
enum ESvgDistanceFieldPlacementMode
{
DoNotTranslate,
PadWithOuterSpread,
CenterCanvas,
CenterBoundingBox,
}
Values
| Name | Remarks |
|---|---|
| DoNotTranslate | Makes sure not to shift the coordinate system at all. |
| PadWithOuterSpread | Shifts the coordinate system predictably (by outer distance spread in both dimensions) to account for the outer distance gradient around the geometry. |
| CenterCanvas | Pins the center of the SVG canvas to the center of the output image. |
| CenterBoundingBox | Centers the actual geometry in such a way that left/right and top/bottom margins are the same. |