Unlock instant, AI-driven research and patent intelligence for your innovation.

Dynamic irregular element boundary cutting display method

A display method and irregular technology, applied in the computer field, can solve the problems of traditional and single display effects

Pending Publication Date: 2020-10-23
安徽沃特水务科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a dynamic irregular element border cutting display method to solve the problem in the prior art that the border of web page elements can only be displayed in a regular shape, and the display effect is traditional and relatively simple

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic irregular element boundary cutting display method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] see figure 1 , an embodiment provided by the present invention: a dynamic irregular element boundary cutting display method, comprising the following steps:

[0025] Step 1. To generate the canvas, first obtain the size of the element to be cut (width w, height h), and create a canvas with a degree of w and a height of h. Its code structure is:

[0026] let canvas = document. createElement('canvas')

[0027] canvas.style.height=canvas.height=h

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dynamic irregular element boundary cutting display method and relates to the technical field of computers. According to the method, key functions of canvas generation, shaperendering, picture generation, style mapping, event monitoring and the like are integrated; a canvas is generated and rendered according to a design style; the canvas is exported as picture data; thenthe picture data is mapped to elements needing to be cut, so that a first cutting effect is achieved; an element change event is monitored; and when deformation occurs, a series of operations such ascanvas generation and rendering again are performed. In the prior art, the boundaries of webpage elements can only be displayed in a regular shape, and a display effect is traditional and single, with the method of the invention adopted, the problem in the prior art can be solved. The method has the advantages of easy and convenient operation and high practicability.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a dynamic irregular element boundary cutting display method. Background technique [0002] Limited by the display rules of traditional page styles (cascading style sheet CSS), the boundaries of web page elements can only be displayed in the appearance of regular shapes, and the commonly used ones are only rectangles (default), rounded rectangles, circles, and cascading style sheets The more border display methods are no longer supported, so the effect of this type of display is traditional and relatively simple. Contents of the invention [0003] The purpose of the present invention is to provide a dynamic irregular element border cutting display method to solve the problem in the prior art that the border of web page elements can only be displayed in a regular shape, and the display effect is traditional and relatively simple. [0004] In order to achieve the above object, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/12G06T7/60G06F16/957
CPCG06T7/12G06T7/60G06F16/9577
Inventor 张奇昌蔡国成韩飞潘丽莎钟越苗翠萍曾宽吴健祝院生周民哲马继贤陈秀艳孙洪波
Owner 安徽沃特水务科技有限公司