CompositionSurfaceBrush.SnapToPixels 属性

定义

获取或设置一个值,该值指示表面画笔是否与像素对齐。

public:
 property bool SnapToPixels { bool get(); void set(bool value); };
bool SnapToPixels();

void SnapToPixels(bool value);
public bool SnapToPixels { get; set; }
var boolean = compositionSurfaceBrush.snapToPixels;
compositionSurfaceBrush.snapToPixels = boolean;
Public Property SnapToPixels As Boolean

属性值

Boolean

bool

如果表面画笔与像素对齐,则为 true;否则为 false

适用于