How to set a UIStroke ApplyStrokeMode in script

Im wondering how i could change the ApplyStrokeMode in script for a UiStroke

stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border