SurfaceEntity.SuperSampling


public static class SurfaceEntity.SuperSampling


Specifies whether super sampling should be enabled for this surface. Super sampling can improve text clarity at a performance cost.

Summary

Constants

static final int

Super sampling is disabled.

static final int

Super sampling is enabled with a default sampling pattern.

Constants

SUPER_SAMPLING_NONE

Added in 1.0.0-alpha07
public static final int SUPER_SAMPLING_NONE = 0

Super sampling is disabled.

SUPER_SAMPLING_PENTAGON

Added in 1.0.0-alpha07
public static final int SUPER_SAMPLING_PENTAGON = 1

Super sampling is enabled with a default sampling pattern. This is the value that is set if SuperSampling is not specified when the Entity is created.

Public fields

INSTANCE

Added in 1.0.0-alpha07
public static @NonNull SurfaceEntity.SuperSampling INSTANCE