A change in the environmental conditions across space for example, altitude or latitude-can cause significant changes in the density of a vegetation type and, consequently, in spatial connectivity. We use spatially explicit simulations to study the transition from connected to fragmented vegetation. A static (gradient percolation) model is compared to dynamic (gradient contact process) models. Connectivity is characterized from the perspective of various species that use this vegetation type for habitat and differ in dispersal or migration range, that is, "step length" across the landscape. The boundary of connected vegetation delineated by a particular step length is termed the "hull edge." We found that for every step length and for every gradient, the hull edge is a fractal with dimension 7/4. The result is the same for different spatial models, suggesting that there are universal laws in ecotone geometry. To demonstrate that the model is applicable to real data, a hull edge of fractal dimension 7/4 is shown on a satellite image of a pinon-juniper woodland on a hillside. We propose to use the hull edge to define the boundary of a vegetation type unambiguously. This offers a new tool for detecting a shift of the boundary due to a climate change.